Pull request #892 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b49c517afded470ec08f589981ea555a484c8b78+b1dd491c035f10e3b0b42b335a36e7e39b70da8c (cba3858b01d1578f30b1cc163bb49513645ab16d) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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:docker-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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-1433 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-892 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b1dd491c035f10e3b0b42b335a36e7e39b70da8c into PR head commit b49c517afded470ec08f589981ea555a484c8b78 Merge succeeded, producing b49c517afded470ec08f589981ea555a484c8b78 Checking out Revision b49c517afded470ec08f589981ea555a484c8b78 (PR-892) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git rev-list --no-walk d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-22T09:02:23.807Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-22T09:02:23.901Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-22T09:02:23.929Z] ========================================================= [2021-04-22T09:02:23.929Z] EdgeX Global Pipelines Version Info [2021-04-22T09:02:23.929Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:02:25.913Z] ------------------- [2021-04-22T09:02:25.913Z] stable info: [2021-04-22T09:02:25.913Z] ------------------- [2021-04-22T09:02:25.913Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-22T09:02:25.913Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-22T09:02:25.913Z] Message: update stable to v1.0.186 [2021-04-22T09:02:26.490Z] ------------------- [2021-04-22T09:02:26.490Z] experimental info: [2021-04-22T09:02:26.490Z] ------------------- [2021-04-22T09:02:26.490Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-22T09:02:26.490Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-22T09:02:26.490Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-22T09:02:26.617Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-22T09:02:26.643Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-22T09:02:26.667Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-22T09:02:26.692Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-22T09:02:26.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-22T09:02:26.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-22T09:02:26.766Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-22T09:02:26.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-22T09:02:26.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-22T09:02:26.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-22T09:02:26.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-22T09:02:26.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-22T09:02:26.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-22T09:02:26.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-22T09:02:26.975Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-22T09:02:27.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T09:02:27.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T09:02:27.079Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-22T09:02:27.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-22T09:02:27.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-22T09:02:27.169Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-22T09:02:27.194Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-22T09:02:27.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-22T09:02:27.250Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-22T09:02:27.276Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-22T09:02:27.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-22T09:02:27.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo [2021-04-22T09:02:27.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo [2021-04-22T09:02:27.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo [2021-04-22T09:02:27.408Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b49c517afded470ec08f589981ea555a484c8b78 [Pipeline] echo [2021-04-22T09:02:27.433Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b49c517 [Pipeline] echo [2021-04-22T09:02:27.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T09:02:27.532Z] provisioning config files... [2021-04-22T09:02:27.564Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config8406231341970227482tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:02:27.893Z] ---> docker-login.sh [2021-04-22T09:02:27.893Z] nexus3.edgexfoundry.org:10001 [2021-04-22T09:02:28.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:02:28.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:02:28.424Z] Configure a credential helper to remove this warning. See [2021-04-22T09:02:28.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:02:28.424Z] [2021-04-22T09:02:28.424Z] Login Succeeded [2021-04-22T09:02:28.424Z] nexus3.edgexfoundry.org:10002 [2021-04-22T09:02:28.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:02:28.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:02:28.424Z] Configure a credential helper to remove this warning. See [2021-04-22T09:02:28.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:02:28.424Z] [2021-04-22T09:02:28.424Z] Login Succeeded [2021-04-22T09:02:28.424Z] nexus3.edgexfoundry.org:10003 [2021-04-22T09:02:28.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:02:28.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:02:28.689Z] Configure a credential helper to remove this warning. See [2021-04-22T09:02:28.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:02:28.689Z] [2021-04-22T09:02:28.689Z] Login Succeeded [2021-04-22T09:02:28.689Z] nexus3.edgexfoundry.org:10004 [2021-04-22T09:02:28.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:02:28.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:02:28.952Z] Configure a credential helper to remove this warning. See [2021-04-22T09:02:28.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:02:28.952Z] [2021-04-22T09:02:28.952Z] Login Succeeded [2021-04-22T09:02:28.952Z] docker.io [2021-04-22T09:02:28.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:02:29.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:02:29.218Z] Configure a credential helper to remove this warning. See [2021-04-22T09:02:29.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:02:29.219Z] [2021-04-22T09:02:29.219Z] Login Succeeded [2021-04-22T09:02:29.219Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T09:02:29.230Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:02:29.688Z] + git log --format=format:%s -1 b49c517afded470ec08f589981ea555a484c8b78 [Pipeline] echo [2021-04-22T09:02:29.775Z] GIT_COMMIT: b49c517afded470ec08f589981ea555a484c8b78, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-04-22T09:02:29.789Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:02:30.371Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T09:02:30.371Z] [2021-04-22T09:02:30.371Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:02:30.690Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T09:02:30.690Z] latest: Pulling from edgex-devops/git-semver [2021-04-22T09:02:30.690Z] 31603596830f: Pulling fs layer [2021-04-22T09:02:30.690Z] 2a8b12db71e7: Pulling fs layer [2021-04-22T09:02:30.690Z] 6ca5941a6612: Pulling fs layer [2021-04-22T09:02:30.690Z] ecc8261a40a4: Pulling fs layer [2021-04-22T09:02:30.690Z] ecc8261a40a4: Waiting [2021-04-22T09:02:30.690Z] 2a8b12db71e7: Verifying Checksum [2021-04-22T09:02:30.690Z] 2a8b12db71e7: Download complete [2021-04-22T09:02:30.690Z] 31603596830f: Verifying Checksum [2021-04-22T09:02:30.690Z] 31603596830f: Download complete [2021-04-22T09:02:30.955Z] ecc8261a40a4: Verifying Checksum [2021-04-22T09:02:30.955Z] ecc8261a40a4: Download complete [2021-04-22T09:02:30.955Z] 6ca5941a6612: Verifying Checksum [2021-04-22T09:02:30.955Z] 6ca5941a6612: Download complete [2021-04-22T09:02:31.221Z] 31603596830f: Pull complete [2021-04-22T09:02:31.221Z] 2a8b12db71e7: Pull complete [2021-04-22T09:02:32.171Z] 6ca5941a6612: Pull complete [2021-04-22T09:02:32.433Z] ecc8261a40a4: Pull complete [2021-04-22T09:02:32.433Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-22T09:02:32.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-22T09:02:32.433Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-22T09:02:32.538Z] prd-centos7-docker-4c-2g-1433 does not seem to be running inside a container [2021-04-22T09:02:32.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-22T09:02:34.404Z] $ docker top 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-22T09:02:34.592Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T09:02:34.592Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T09:02:34.831Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T09:02:34.837Z] $ docker exec 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent [2021-04-22T09:02:35.016Z] SSH_AUTH_SOCK=/tmp/ssh-cKrGsiN84Llu/agent.12 [2021-04-22T09:02:35.016Z] SSH_AGENT_PID=17 [2021-04-22T09:02:35.028Z] Running ssh-add (command line suppressed) [2021-04-22T09:02:35.151Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3305082492487294440.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3305082492487294440.key) [2021-04-22T09:02:35.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T09:02:35.503Z] + git tag --points-at HEAD [Pipeline] } [2021-04-22T09:02:35.524Z] $ docker exec --env ******** --env ******** 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent -k [2021-04-22T09:02:35.639Z] unset SSH_AUTH_SOCK; [2021-04-22T09:02:35.639Z] unset SSH_AGENT_PID; [2021-04-22T09:02:35.639Z] echo Agent pid 17 killed; [2021-04-22T09:02:35.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-22T09:02:35.734Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-22T09:02:35.734Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-22T09:02:35.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-22T09:02:35.918Z] $ docker exec 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent [2021-04-22T09:02:36.082Z] SSH_AUTH_SOCK=/tmp/ssh-HO4OERmvJ3BT/agent.46 [2021-04-22T09:02:36.082Z] SSH_AGENT_PID=51 [2021-04-22T09:02:36.090Z] Running ssh-add (command line suppressed) [2021-04-22T09:02:36.231Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_397522384133001172.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_397522384133001172.key) [2021-04-22T09:02:36.293Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-22T09:02:36.614Z] + git semver init [2021-04-22T09:02:36.614Z] # -> Open(): unable to determine branch for HEAD [2021-04-22T09:02:36.614Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.git [2021-04-22T09:02:36.614Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-892 [2021-04-22T09:02:36.614Z] # $SEMVER_REMOTE_NAME = origin [2021-04-22T09:02:36.614Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-22T09:02:36.614Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-22T09:02:36.614Z] # $SEMVER_BRANCH = PR-892 [2021-04-22T09:02:36.614Z] # $SEMVER_TEMP = /tmp/semver-874734663 [2021-04-22T09:02:36.614Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-22T09:02:37.563Z] # '/tmp/semver-874734663' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver' [2021-04-22T09:02:37.563Z] # -> Force: false [2021-04-22T09:02:37.563Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver [Pipeline] } [2021-04-22T09:02:37.577Z] $ docker exec --env ******** --env ******** 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 ssh-agent -k [2021-04-22T09:02:37.695Z] unset SSH_AUTH_SOCK; [2021-04-22T09:02:37.696Z] unset SSH_AGENT_PID; [2021-04-22T09:02:37.696Z] echo Agent pid 51 killed; [2021-04-22T09:02:37.744Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-22T09:02:38.107Z] + git semver [Pipeline] } [2021-04-22T09:02:38.130Z] $ docker stop --time=1 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 [2021-04-22T09:02:39.600Z] $ docker rm -f 10d7f8d7c8e3e521f2bcef438671daa106be8b44aca4c1e4f5401969b0dee363 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T09:02:40.000Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-22T09:02:40.310Z] Stashed 1 file(s) [Pipeline] echo [2021-04-22T09:02:40.314Z] [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-04-22T09:02:55.493Z] Still waiting to schedule task [2021-04-22T09:02:55.493Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-22T09:02:55.496Z] Still waiting to schedule task [2021-04-22T09:02:55.496Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-22T09:05:09.778Z] Running on prd-centos7-docker-4c-2g-1435 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws [2021-04-22T09:05:09.801Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-22T09:05:12.600Z] using credential edgex-jenkins-ssh [2021-04-22T09:05:12.613Z] Cloning the remote Git repository [2021-04-22T09:05:12.646Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:05:12.723Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-22T09:05:12.793Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:05:12.793Z] > git --version # timeout=10 [2021-04-22T09:05:12.808Z] > git --version # 'git version 2.24.3' [2021-04-22T09:05:12.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:05:12.838Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:05:14.045Z] Merging remotes/origin/master commit b1dd491c035f10e3b0b42b335a36e7e39b70da8c into PR head commit b49c517afded470ec08f589981ea555a484c8b78 [2021-04-22T09:05:14.132Z] Merge succeeded, producing b49c517afded470ec08f589981ea555a484c8b78 [2021-04-22T09:05:14.133Z] Checking out Revision b49c517afded470ec08f589981ea555a484c8b78 (PR-892) [2021-04-22T09:05:13.561Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:05:13.572Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:05:13.584Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:05:13.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:05:13.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:05:13.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-22T09:05:14.054Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:05:14.059Z] > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 [2021-04-22T09:05:14.101Z] > git remote # timeout=10 [2021-04-22T09:05:14.107Z] > git config --get remote.origin.url # timeout=10 [2021-04-22T09:05:14.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:05:14.117Z] > git merge b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 [2021-04-22T09:05:14.127Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-22T09:05:14.136Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:05:14.141Z] > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 [2021-04-22T09:05:17.826Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:05:19.051Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:05:19.381Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:05:19.686Z] + sudo service docker restart [2021-04-22T09:05:19.686Z] + true [2021-04-22T09:05:19.686Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T09:05:21.112Z] provisioning config files... [2021-04-22T09:05:21.143Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1600483476413924301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:05:21.469Z] ---> docker-login.sh [2021-04-22T09:05:21.469Z] nexus3.edgexfoundry.org:10001 [2021-04-22T09:05:21.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:05:22.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:05:22.000Z] Configure a credential helper to remove this warning. See [2021-04-22T09:05:22.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:05:22.000Z] [2021-04-22T09:05:22.000Z] Login Succeeded [2021-04-22T09:05:22.000Z] nexus3.edgexfoundry.org:10002 [2021-04-22T09:05:22.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:05:22.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:05:22.263Z] Configure a credential helper to remove this warning. See [2021-04-22T09:05:22.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:05:22.264Z] [2021-04-22T09:05:22.264Z] Login Succeeded [2021-04-22T09:05:22.264Z] nexus3.edgexfoundry.org:10003 [2021-04-22T09:05:22.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:05:22.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:05:22.528Z] Configure a credential helper to remove this warning. See [2021-04-22T09:05:22.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:05:22.528Z] [2021-04-22T09:05:22.528Z] Login Succeeded [2021-04-22T09:05:22.528Z] nexus3.edgexfoundry.org:10004 [2021-04-22T09:05:22.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:05:22.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:05:22.528Z] Configure a credential helper to remove this warning. See [2021-04-22T09:05:22.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:05:22.528Z] [2021-04-22T09:05:22.528Z] Login Succeeded [2021-04-22T09:05:22.528Z] docker.io [2021-04-22T09:05:22.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:05:23.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:05:23.053Z] Configure a credential helper to remove this warning. See [2021-04-22T09:05:23.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:05:23.053Z] [2021-04-22T09:05:23.053Z] Login Succeeded [2021-04-22T09:05:23.053Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T09:05:23.063Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-22T09:05:23.253Z] ========================================================= [2021-04-22T09:05:23.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-22T09:05:23.253Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:05:23.563Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-22T09:05:23.827Z] Sending build context to Docker daemon 2.456MB [2021-04-22T09:05:23.827Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:05:23.827Z] Step 2/8 : FROM ${BASE} [2021-04-22T09:05:23.827Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-22T09:05:23.827Z] 188c0c94c7c5: Pulling fs layer [2021-04-22T09:05:23.827Z] 0ef7d3d256c8: Pulling fs layer [2021-04-22T09:05:23.827Z] de9db76c5a1d: Pulling fs layer [2021-04-22T09:05:23.827Z] bca2f99d35d6: Pulling fs layer [2021-04-22T09:05:23.827Z] 93359f2a8cfa: Pulling fs layer [2021-04-22T09:05:23.827Z] 7c6f9722023f: Pulling fs layer [2021-04-22T09:05:23.827Z] a35cf1a2eb13: Pulling fs layer [2021-04-22T09:05:23.827Z] 7c6f9722023f: Waiting [2021-04-22T09:05:23.827Z] 93359f2a8cfa: Waiting [2021-04-22T09:05:23.827Z] bca2f99d35d6: Waiting [2021-04-22T09:05:23.827Z] a35cf1a2eb13: Waiting [2021-04-22T09:05:23.827Z] de9db76c5a1d: Verifying Checksum [2021-04-22T09:05:23.827Z] de9db76c5a1d: Download complete [2021-04-22T09:05:23.827Z] 0ef7d3d256c8: Verifying Checksum [2021-04-22T09:05:23.827Z] 0ef7d3d256c8: Download complete [2021-04-22T09:05:23.827Z] 93359f2a8cfa: Verifying Checksum [2021-04-22T09:05:23.827Z] 93359f2a8cfa: Download complete [2021-04-22T09:05:23.827Z] 188c0c94c7c5: Verifying Checksum [2021-04-22T09:05:23.827Z] 188c0c94c7c5: Download complete [2021-04-22T09:05:23.827Z] 7c6f9722023f: Verifying Checksum [2021-04-22T09:05:23.827Z] 7c6f9722023f: Download complete [2021-04-22T09:05:24.088Z] 188c0c94c7c5: Pull complete [2021-04-22T09:05:24.352Z] 0ef7d3d256c8: Pull complete [2021-04-22T09:05:24.617Z] de9db76c5a1d: Pull complete [2021-04-22T09:05:26.546Z] a35cf1a2eb13: Verifying Checksum [2021-04-22T09:05:26.546Z] a35cf1a2eb13: Download complete [2021-04-22T09:05:26.814Z] bca2f99d35d6: Verifying Checksum [2021-04-22T09:05:26.814Z] bca2f99d35d6: Download complete [2021-04-22T09:05:33.456Z] bca2f99d35d6: Pull complete [2021-04-22T09:05:33.456Z] 93359f2a8cfa: Pull complete [2021-04-22T09:05:33.456Z] 7c6f9722023f: Pull complete [2021-04-22T09:05:37.693Z] a35cf1a2eb13: Pull complete [2021-04-22T09:05:37.693Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-22T09:05:37.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-22T09:05:37.693Z] ---> a62c8e92a672 [2021-04-22T09:05:37.693Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:05:37.959Z] ---> Running in 827625178c9e [2021-04-22T09:05:38.547Z] Removing intermediate container 827625178c9e [2021-04-22T09:05:38.547Z] ---> 377db816a565 [2021-04-22T09:05:38.547Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:05:38.547Z] ---> Running in 2225a3916104 [2021-04-22T09:05:39.501Z] Removing intermediate container 2225a3916104 [2021-04-22T09:05:39.501Z] ---> 171d54f9541b [2021-04-22T09:05:39.501Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-22T09:05:39.501Z] ---> Running in fdf8728d8f2d [2021-04-22T09:05:40.078Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T09:05:40.654Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T09:05:41.228Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-22T09:05:41.228Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-22T09:05:41.494Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-22T09:05:41.494Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-22T09:05:41.494Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-22T09:05:41.758Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-22T09:05:41.758Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T09:05:41.758Z] OK: 167 MiB in 45 packages [2021-04-22T09:05:42.715Z] Removing intermediate container fdf8728d8f2d [2021-04-22T09:05:42.715Z] ---> e3bd6ec7b971 [2021-04-22T09:05:42.715Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-22T09:05:42.715Z] ---> Running in 7e1cebb12da5 [2021-04-22T09:05:42.715Z] Removing intermediate container 7e1cebb12da5 [2021-04-22T09:05:42.715Z] ---> 0c63d494bf7f [2021-04-22T09:05:42.715Z] Step 7/8 : COPY . . [2021-04-22T09:05:44.113Z] ---> b39ed59c9377 [2021-04-22T09:05:44.113Z] Step 8/8 : RUN go mod download [2021-04-22T09:05:44.113Z] ---> Running in 2c3babb548ff [2021-04-22T09:06:06.166Z] Removing intermediate container 2c3babb548ff [2021-04-22T09:06:06.166Z] ---> 9a3e220ad97c [2021-04-22T09:06:06.166Z] Successfully built 9a3e220ad97c [2021-04-22T09:06:06.166Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:06:06.508Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T09:06:06.508Z] . [Pipeline] withDockerContainer [2021-04-22T09:06:06.654Z] prd-centos7-docker-4c-2g-1435 does not seem to be running inside a container [2021-04-22T09:06:06.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-22T09:06:07.578Z] $ docker top d82ede63a0b4a1593cf89c5b33d173933b023d71fe47d06fcd960acbb5cacaab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:06:08.097Z] + go version [2021-04-22T09:06:08.097Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-22T09:06:08.112Z] $ docker stop --time=1 d82ede63a0b4a1593cf89c5b33d173933b023d71fe47d06fcd960acbb5cacaab [2021-04-22T09:06:09.465Z] $ docker rm -f d82ede63a0b4a1593cf89c5b33d173933b023d71fe47d06fcd960acbb5cacaab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:06:09.991Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-22T09:06:09.991Z] . [Pipeline] withDockerContainer [2021-04-22T09:06:10.099Z] prd-centos7-docker-4c-2g-1435 does not seem to be running inside a container [2021-04-22T09:06:10.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-22T09:06:10.900Z] $ docker top 51d2dcd201447d252e2673e2a2b58a945d017b0773680b151fb701304260e3da -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:06:11.334Z] + make test [2021-04-22T09:06:11.334Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-22T09:06:19.552Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-22T09:06:38.468Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1436 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws [2021-04-22T09:06:38.489Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-04-22T09:06:42.027Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-22T09:06:42.027Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-22T09:06:42.027Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-22T09:06:42.027Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-22T09:06:42.027Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-22T09:06:44.097Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 28.1% of statements [2021-04-22T09:06:44.097Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-04-22T09:06:44.220Z] using credential edgex-jenkins-ssh [2021-04-22T09:06:44.239Z] Cloning the remote Git repository [2021-04-22T09:06:44.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.100s coverage: 7.8% of statements [2021-04-22T09:06:44.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-22T09:06:44.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-22T09:06:44.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-22T09:06:44.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 32.0% of statements [2021-04-22T09:06:44.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-22T09:06:44.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-22T09:06:44.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T09:06:44.280Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:06:44.385Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-04-22T09:06:44.458Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:06:44.459Z] > git --version # timeout=10 [2021-04-22T09:06:44.476Z] > git --version # 'git version 2.17.1' [2021-04-22T09:06:44.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:06:44.553Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:06:45.648Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.2% of statements [2021-04-22T09:06:45.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.242s coverage: 6.6% of statements [2021-04-22T09:06:45.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:06:45.809Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-22T09:06:45.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-22T09:06:45.875Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-22T09:06:45.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:06:45.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-22T09:06:46.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-22T09:06:46.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-22T09:06:46.417Z] Merging remotes/origin/master commit b1dd491c035f10e3b0b42b335a36e7e39b70da8c into PR head commit b49c517afded470ec08f589981ea555a484c8b78 [2021-04-22T09:06:46.443Z] GO111MODULE=on go vet ./... [2021-04-22T09:06:46.650Z] Merge succeeded, producing b49c517afded470ec08f589981ea555a484c8b78 [2021-04-22T09:06:46.651Z] Checking out Revision b49c517afded470ec08f589981ea555a484c8b78 (PR-892) [2021-04-22T09:06:46.427Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:06:46.449Z] > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 [2021-04-22T09:06:46.555Z] > git remote # timeout=10 [2021-04-22T09:06:46.575Z] > git config --get remote.origin.url # timeout=10 [2021-04-22T09:06:46.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-22T09:06:46.602Z] > git merge b1dd491c035f10e3b0b42b335a36e7e39b70da8c # timeout=10 [2021-04-22T09:06:46.626Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-22T09:06:46.647Z] > git config core.sparsecheckout # timeout=10 [2021-04-22T09:06:46.663Z] > git checkout -f b49c517afded470ec08f589981ea555a484c8b78 # timeout=10 [2021-04-22T09:06:50.902Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:06:52.259Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:06:52.671Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-22T09:06:53.021Z] + sudo service docker restart [2021-04-22T09:06:53.022Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-22T09:06:55.059Z] provisioning config files... [2021-04-22T09:06:55.106Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1714905278215430845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:06:55.487Z] ---> docker-login.sh [2021-04-22T09:06:55.487Z] nexus3.edgexfoundry.org:10001 [2021-04-22T09:06:56.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:06:56.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:06:56.766Z] Configure a credential helper to remove this warning. See [2021-04-22T09:06:56.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:06:56.766Z] [2021-04-22T09:06:56.766Z] Login Succeeded [2021-04-22T09:06:56.766Z] nexus3.edgexfoundry.org:10002 [2021-04-22T09:06:57.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:06:57.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:06:57.321Z] Configure a credential helper to remove this warning. See [2021-04-22T09:06:57.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:06:57.321Z] [2021-04-22T09:06:57.321Z] Login Succeeded [2021-04-22T09:06:57.321Z] nexus3.edgexfoundry.org:10003 [2021-04-22T09:06:57.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:06:57.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:06:57.881Z] Configure a credential helper to remove this warning. See [2021-04-22T09:06:57.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:06:57.881Z] [2021-04-22T09:06:57.881Z] Login Succeeded [2021-04-22T09:06:57.881Z] nexus3.edgexfoundry.org:10004 [2021-04-22T09:06:58.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:06:58.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:06:58.439Z] Configure a credential helper to remove this warning. See [2021-04-22T09:06:58.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:06:58.439Z] [2021-04-22T09:06:58.439Z] Login Succeeded [2021-04-22T09:06:58.439Z] docker.io [2021-04-22T09:06:58.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-22T09:06:59.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-22T09:06:59.313Z] Configure a credential helper to remove this warning. See [2021-04-22T09:06:59.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-22T09:06:59.313Z] [2021-04-22T09:06:59.313Z] Login Succeeded [2021-04-22T09:06:59.313Z] ---> docker-login.sh ends [Pipeline] } [2021-04-22T09:06:59.331Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-22T09:06:59.656Z] ========================================================= [2021-04-22T09:06:59.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-22T09:06:59.657Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:07:00.012Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-22T09:07:00.288Z] Sending build context to Docker daemon 2.455MB [2021-04-22T09:07:00.571Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:07:00.571Z] Step 2/8 : FROM ${BASE} [2021-04-22T09:07:00.571Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-22T09:07:00.571Z] 5f621e34cdf4: Pulling fs layer [2021-04-22T09:07:00.571Z] a4357932f1b6: Pulling fs layer [2021-04-22T09:07:00.571Z] 18c013af1878: Pulling fs layer [2021-04-22T09:07:00.571Z] 00ac8860ef70: Pulling fs layer [2021-04-22T09:07:00.571Z] 63d7cb157983: Pulling fs layer [2021-04-22T09:07:00.571Z] b116817d02f9: Pulling fs layer [2021-04-22T09:07:00.571Z] 745a02a5169b: Pulling fs layer [2021-04-22T09:07:00.571Z] 00ac8860ef70: Waiting [2021-04-22T09:07:00.571Z] 63d7cb157983: Waiting [2021-04-22T09:07:00.571Z] b116817d02f9: Waiting [2021-04-22T09:07:00.571Z] 745a02a5169b: Waiting [2021-04-22T09:07:00.571Z] 18c013af1878: Verifying Checksum [2021-04-22T09:07:00.571Z] 18c013af1878: Download complete [2021-04-22T09:07:00.571Z] a4357932f1b6: Verifying Checksum [2021-04-22T09:07:00.571Z] a4357932f1b6: Download complete [2021-04-22T09:07:00.571Z] 63d7cb157983: Verifying Checksum [2021-04-22T09:07:00.571Z] 63d7cb157983: Download complete [2021-04-22T09:07:00.571Z] b116817d02f9: Verifying Checksum [2021-04-22T09:07:00.571Z] b116817d02f9: Download complete [2021-04-22T09:07:00.571Z] 5f621e34cdf4: Verifying Checksum [2021-04-22T09:07:00.571Z] 5f621e34cdf4: Download complete [2021-04-22T09:07:01.554Z] 5f621e34cdf4: Pull complete [2021-04-22T09:07:02.171Z] a4357932f1b6: Pull complete [2021-04-22T09:07:02.450Z] 18c013af1878: Pull complete [2021-04-22T09:07:03.894Z] 745a02a5169b: Verifying Checksum [2021-04-22T09:07:03.894Z] 745a02a5169b: Download complete [2021-04-22T09:07:04.491Z] 00ac8860ef70: Verifying Checksum [2021-04-22T09:07:04.491Z] 00ac8860ef70: Download complete [2021-04-22T09:07:04.757Z] gofmt -l . [2021-04-22T09:07:04.757Z] [ "`gofmt -l .`" = "" ] [2021-04-22T09:07:04.757Z] ./bin/test-attribution-txt.sh [2021-04-22T09:07:04.757Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T09:07:04.778Z] $ docker stop --time=1 51d2dcd201447d252e2673e2a2b58a945d017b0773680b151fb701304260e3da [2021-04-22T09:07:06.447Z] $ docker rm -f 51d2dcd201447d252e2673e2a2b58a945d017b0773680b151fb701304260e3da [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T09:07:07.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T09:07:07.490Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-22T09:07:08.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-22T09:07:08.732Z] + ls -al . [2021-04-22T09:07:08.732Z] total 188 [2021-04-22T09:07:08.732Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 22 09:07 . [2021-04-22T09:07:08.732Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 22 09:05 .. [2021-04-22T09:07:08.732Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 22 09:05 bin [2021-04-22T09:07:08.732Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 22 09:06 coverage.out [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 22 09:05 Dockerfile.build [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 22 09:05 .dockerignore [2021-04-22T09:07:08.732Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 22 09:05 example [2021-04-22T09:07:08.732Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 22 09:05 .git [2021-04-22T09:07:08.732Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 22 09:05 .github [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 22 09:05 .gitignore [2021-04-22T09:07:08.732Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 22 09:07 go.mod [2021-04-22T09:07:08.732Z] -rw-r--r--. 1 jenkins jenkins 20737 Apr 22 09:07 go.sum [2021-04-22T09:07:08.732Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 22 09:05 internal [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 22 09:05 Jenkinsfile [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 22 09:05 LICENSE [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 22 09:05 Makefile [2021-04-22T09:07:08.732Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 22 09:05 openapi [2021-04-22T09:07:08.732Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 22 09:05 pkg [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 22 09:05 README.md [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 22 09:05 RELEASE-NOTES.txt [2021-04-22T09:07:08.732Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 22 09:05 snap [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 22 09:02 VERSION [2021-04-22T09:07:08.732Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 22 09:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:07:09.045Z] + docker build -t docker-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=b49c517afded470ec08f589981ea555a484c8b78 --label arch=amd64 --label version=0.0.0 . [2021-04-22T09:07:09.308Z] Sending build context to Docker daemon 2.557MB [2021-04-22T09:07:09.308Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:07:09.308Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-22T09:07:09.308Z] ---> 9a3e220ad97c [2021-04-22T09:07:09.308Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-22T09:07:09.882Z] ---> Running in 85bc1419e8bd [2021-04-22T09:07:10.145Z] Removing intermediate container 85bc1419e8bd [2021-04-22T09:07:10.145Z] ---> 829abff8b810 [2021-04-22T09:07:10.145Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:07:10.145Z] ---> Running in 22212b3ca769 [2021-04-22T09:07:10.411Z] Removing intermediate container 22212b3ca769 [2021-04-22T09:07:10.411Z] ---> 7409d80806f0 [2021-04-22T09:07:10.411Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:07:10.411Z] ---> Running in 38ec24c357f5 [2021-04-22T09:07:11.831Z] Removing intermediate container 38ec24c357f5 [2021-04-22T09:07:11.831Z] ---> 29f2a3574812 [2021-04-22T09:07:11.831Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-22T09:07:11.831Z] ---> Running in 5739e210d626 [2021-04-22T09:07:12.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T09:07:12.995Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T09:07:13.260Z] OK: 167 MiB in 45 packages [2021-04-22T09:07:13.840Z] Removing intermediate container 5739e210d626 [2021-04-22T09:07:13.840Z] ---> d3c9972cbb78 [2021-04-22T09:07:13.840Z] Step 7/23 : COPY . . [2021-04-22T09:07:14.685Z] 00ac8860ef70: Pull complete [2021-04-22T09:07:14.686Z] 63d7cb157983: Pull complete [2021-04-22T09:07:14.686Z] b116817d02f9: Pull complete [2021-04-22T09:07:14.792Z] ---> cc84a0239c3e [2021-04-22T09:07:14.792Z] Step 8/23 : RUN go mod download [2021-04-22T09:07:14.792Z] ---> Running in c03aa782557b [2021-04-22T09:07:16.209Z] Removing intermediate container c03aa782557b [2021-04-22T09:07:16.209Z] ---> 9fb849a55403 [2021-04-22T09:07:16.209Z] Step 9/23 : RUN make build [2021-04-22T09:07:16.209Z] ---> Running in be4d85c02624 [2021-04-22T09:07:16.488Z] 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-04-22T09:07:18.084Z] 745a02a5169b: Pull complete [2021-04-22T09:07:18.084Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-22T09:07:18.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-22T09:07:18.084Z] ---> b7e6874047d6 [2021-04-22T09:07:18.084Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:07:21.491Z] ---> Running in b9bcf8dfa695 [2021-04-22T09:07:21.491Z] Removing intermediate container b9bcf8dfa695 [2021-04-22T09:07:21.491Z] ---> af08ed88dd5c [2021-04-22T09:07:21.491Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:07:21.767Z] ---> Running in 7cd7df23379b [2021-04-22T09:07:24.423Z] Removing intermediate container 7cd7df23379b [2021-04-22T09:07:24.423Z] ---> d58c66aacc8b [2021-04-22T09:07:24.423Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-22T09:07:24.423Z] ---> Running in 7fa2089aed9f [2021-04-22T09:07:25.401Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T09:07:25.998Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T09:07:26.977Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-22T09:07:26.977Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-22T09:07:26.977Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-22T09:07:27.255Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-22T09:07:27.255Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-22T09:07:27.526Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-22T09:07:27.526Z] Executing busybox-1.31.1-r19.trigger [2021-04-22T09:07:27.526Z] OK: 144 MiB in 45 packages [2021-04-22T09:07:28.868Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-22T09:07:28.970Z] Removing intermediate container 7fa2089aed9f [2021-04-22T09:07:28.971Z] ---> 0a4d604091f7 [2021-04-22T09:07:28.971Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-22T09:07:29.244Z] ---> Running in d45d863cab8e [2021-04-22T09:07:29.519Z] Removing intermediate container d45d863cab8e [2021-04-22T09:07:29.519Z] ---> 0c0f9606b795 [2021-04-22T09:07:29.519Z] Step 7/8 : COPY . . [2021-04-22T09:07:30.266Z] Removing intermediate container be4d85c02624 [2021-04-22T09:07:30.266Z] ---> ae246310ad29 [2021-04-22T09:07:30.266Z] Step 10/23 : FROM alpine:3.12 [2021-04-22T09:07:30.529Z] 3.12: Pulling from library/alpine [2021-04-22T09:07:30.793Z] 339de151aab4: Pulling fs layer [2021-04-22T09:07:30.793Z] 339de151aab4: Verifying Checksum [2021-04-22T09:07:30.793Z] 339de151aab4: Download complete [2021-04-22T09:07:30.958Z] ---> da35af51908c [2021-04-22T09:07:30.958Z] Step 8/8 : RUN go mod download [2021-04-22T09:07:30.958Z] ---> Running in 7af2a31efbf1 [2021-04-22T09:07:31.063Z] 339de151aab4: Pull complete [2021-04-22T09:07:31.063Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-22T09:07:31.063Z] Status: Downloaded newer image for alpine:3.12 [2021-04-22T09:07:31.063Z] ---> 13621d1b12d4 [2021-04-22T09:07:31.063Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:07:31.328Z] ---> Running in f2b9ffe66275 [2021-04-22T09:07:32.280Z] Removing intermediate container f2b9ffe66275 [2021-04-22T09:07:32.280Z] ---> 7897e785a55c [2021-04-22T09:07:32.280Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:07:32.280Z] ---> Running in c9d685c3dda6 [2021-04-22T09:07:33.241Z] Removing intermediate container c9d685c3dda6 [2021-04-22T09:07:33.241Z] ---> 49bc99744f06 [2021-04-22T09:07:33.241Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-22T09:07:33.241Z] ---> Running in 900d601217a8 [2021-04-22T09:07:33.825Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-22T09:07:34.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-22T09:07:35.363Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-22T09:07:35.363Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-22T09:07:35.363Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-22T09:07:36.315Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-22T09:07:36.315Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-22T09:07:36.595Z] Executing busybox-1.31.1-r20.trigger [2021-04-22T09:07:36.595Z] OK: 8 MiB in 19 packages [2021-04-22T09:07:37.171Z] Removing intermediate container 900d601217a8 [2021-04-22T09:07:37.171Z] ---> 0322269b3f6f [2021-04-22T09:07:37.171Z] Step 14/23 : WORKDIR / [2021-04-22T09:07:37.171Z] ---> Running in baced728ad4a [2021-04-22T09:07:37.436Z] Removing intermediate container baced728ad4a [2021-04-22T09:07:37.436Z] ---> 80a0b6b31434 [2021-04-22T09:07:37.436Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-22T09:07:37.701Z] ---> f79f27556ed2 [2021-04-22T09:07:37.701Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-22T09:07:38.284Z] ---> e50f04621a33 [2021-04-22T09:07:38.284Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-22T09:07:38.549Z] ---> c65de7cda8d5 [2021-04-22T09:07:38.549Z] Step 18/23 : EXPOSE 49990 [2021-04-22T09:07:38.549Z] ---> Running in 3b6634b8a664 [2021-04-22T09:07:38.812Z] Removing intermediate container 3b6634b8a664 [2021-04-22T09:07:38.812Z] ---> 1f66a17cf60e [2021-04-22T09:07:38.812Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-22T09:07:38.812Z] ---> Running in f703729c2ee2 [2021-04-22T09:07:39.076Z] Removing intermediate container f703729c2ee2 [2021-04-22T09:07:39.076Z] ---> 996380c09bcf [2021-04-22T09:07:39.076Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-22T09:07:39.076Z] ---> Running in b27d8b016150 [2021-04-22T09:07:39.342Z] Removing intermediate container b27d8b016150 [2021-04-22T09:07:39.342Z] ---> 357ec257a587 [2021-04-22T09:07:39.342Z] Step 21/23 : LABEL arch=amd64 [2021-04-22T09:07:39.342Z] ---> Running in de6876acfe45 [2021-04-22T09:07:39.342Z] Removing intermediate container de6876acfe45 [2021-04-22T09:07:39.342Z] ---> 8f5ec7f1a10f [2021-04-22T09:07:39.342Z] Step 22/23 : LABEL git_sha=b49c517afded470ec08f589981ea555a484c8b78 [2021-04-22T09:07:39.622Z] ---> Running in ab0f41b4a042 [2021-04-22T09:07:39.622Z] Removing intermediate container ab0f41b4a042 [2021-04-22T09:07:39.622Z] ---> 0af84969923f [2021-04-22T09:07:39.622Z] Step 23/23 : LABEL version=0.0.0 [2021-04-22T09:07:39.622Z] ---> Running in ef31054bdb9f [2021-04-22T09:07:39.888Z] Removing intermediate container ef31054bdb9f [2021-04-22T09:07:39.888Z] ---> 3ba7a06f5a7f [2021-04-22T09:07:39.888Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-22T09:07:39.888Z] Successfully built 3ba7a06f5a7f [2021-04-22T09:07:39.888Z] Successfully tagged docker-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-04-22T09:07:40.502Z] ---> job-cost.sh [2021-04-22T09:07:40.502Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6eeW [2021-04-22T09:07:55.483Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T09:07:57.802Z] Removing intermediate container 7af2a31efbf1 [2021-04-22T09:07:57.802Z] ---> d43b88de0e8c [2021-04-22T09:07:57.802Z] Successfully built d43b88de0e8c [2021-04-22T09:07:57.802Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:07:58.150Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T09:07:58.150Z] . [Pipeline] withDockerContainer [2021-04-22T09:07:58.389Z] prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container [2021-04-22T09:07:58.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-22T09:08:00.096Z] $ docker top 69111d86a717e9024c0b3641c0d72aec5b8fc1e451d58d44967a59bb2fdf92db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:08:01.039Z] + go version [2021-04-22T09:08:01.039Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-22T09:08:01.061Z] $ docker stop --time=1 69111d86a717e9024c0b3641c0d72aec5b8fc1e451d58d44967a59bb2fdf92db [2021-04-22T09:08:03.166Z] $ docker rm -f 69111d86a717e9024c0b3641c0d72aec5b8fc1e451d58d44967a59bb2fdf92db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:08:04.772Z] + docker inspect -f . ci-base-image-arm64 [2021-04-22T09:08:04.772Z] . [Pipeline] withDockerContainer [2021-04-22T09:08:05.013Z] prd-ubuntu18.04-docker-arm64-4c-16g-1436 does not seem to be running inside a container [2021-04-22T09:08:05.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-22T09:08:06.649Z] $ docker top 6d2324ba6a0d9119e46ab8a7f0039dfcbb652044432076ab358a3e4675949afc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:08:07.629Z] + make test [2021-04-22T09:08:07.629Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-22T09:08:28.454Z] lf-activate-venv(): INFO: Adding /tmp/venv-6eeW/bin to PATH [2021-04-22T09:08:28.454Z] INFO: No Stack... [2021-04-22T09:08:28.454Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T09:08:28.454Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T09:08:28.771Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-22T09:08:28.771Z] + cut -d, -f6 [Pipeline] lock [2021-04-22T09:08:28.861Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [2021-04-22T09:08:28.876Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] did not exist. Created. [2021-04-22T09:08:28.876Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T09:08:29.211Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-22T09:08:29.335Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T09:08:29.361Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-22T09:08:29.840Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-22T09:09:26.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-22T09:09:26.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-22T09:09:26.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-22T09:09:26.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-22T09:09:26.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-22T09:09:29.143Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 28.1% of statements [2021-04-22T09:09:29.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.233s coverage: 78.9% of statements [2021-04-22T09:09:29.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.136s coverage: 7.8% of statements [2021-04-22T09:09:29.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-22T09:09:29.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-22T09:09:29.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-22T09:09:31.411Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.378s coverage: 32.0% of statements [2021-04-22T09:09:31.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-22T09:09:31.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-22T09:09:31.411Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-22T09:09:35.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.326s coverage: 57.2% of statements [2021-04-22T09:09:35.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.202s coverage: 6.6% of statements [2021-04-22T09:09:35.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements [2021-04-22T09:09:35.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-22T09:09:35.754Z] GO111MODULE=on go vet ./... [2021-04-22T09:10:22.791Z] gofmt -l . [2021-04-22T09:10:22.791Z] [ "`gofmt -l .`" = "" ] [2021-04-22T09:10:22.791Z] ./bin/test-attribution-txt.sh [2021-04-22T09:10:22.791Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-22T09:10:22.812Z] $ docker stop --time=1 6d2324ba6a0d9119e46ab8a7f0039dfcbb652044432076ab358a3e4675949afc [2021-04-22T09:10:25.022Z] $ docker rm -f 6d2324ba6a0d9119e46ab8a7f0039dfcbb652044432076ab358a3e4675949afc [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-22T09:10:26.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-22T09:10:26.134Z] Warning: overwriting stash ‘coverage-report’ [2021-04-22T09:10:27.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-22T09:10:27.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-22T09:10:27.977Z] + ls -al . [2021-04-22T09:10:27.977Z] total 224 [2021-04-22T09:10:27.977Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 09:10 . [2021-04-22T09:10:27.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:06 .. [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 09:06 .dockerignore [2021-04-22T09:10:27.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 09:06 .git [2021-04-22T09:10:27.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:06 .github [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 22 09:06 .gitignore [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 22 09:06 Dockerfile.build [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 22 09:06 Jenkinsfile [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 09:06 LICENSE [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 22 09:06 Makefile [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 22 09:06 README.md [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 22 09:06 RELEASE-NOTES.txt [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 09:02 VERSION [2021-04-22T09:10:27.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 09:06 bin [2021-04-22T09:10:27.977Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 22 09:09 coverage.out [2021-04-22T09:10:27.977Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:06 example [2021-04-22T09:10:27.977Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 22 09:10 go.mod [2021-04-22T09:10:27.977Z] -rw-r--r-- 1 jenkins jenkins 20737 Apr 22 09:10 go.sum [2021-04-22T09:10:27.977Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 22 09:06 internal [2021-04-22T09:10:27.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:06 openapi [2021-04-22T09:10:27.977Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 09:06 pkg [2021-04-22T09:10:27.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 09:06 snap [2021-04-22T09:10:27.977Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 09:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:10:28.411Z] + docker build -t docker-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=b49c517afded470ec08f589981ea555a484c8b78 --label arch=arm64 --label version=0.0.0 . [2021-04-22T09:10:29.089Z] Sending build context to Docker daemon 2.556MB [2021-04-22T09:10:29.089Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-22T09:10:29.089Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-22T09:10:29.089Z] ---> d43b88de0e8c [2021-04-22T09:10:29.089Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-22T09:10:29.364Z] ---> Running in 5dc98746b1d4 [2021-04-22T09:10:29.660Z] Removing intermediate container 5dc98746b1d4 [2021-04-22T09:10:29.660Z] ---> 244fd9b1f3fe [2021-04-22T09:10:29.660Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:10:29.937Z] ---> Running in ff034e1a9ba3 [2021-04-22T09:10:30.223Z] Removing intermediate container ff034e1a9ba3 [2021-04-22T09:10:30.223Z] ---> d25d87caae8d [2021-04-22T09:10:30.223Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:10:30.496Z] ---> Running in 684894b6e549 [2021-04-22T09:10:32.471Z] Removing intermediate container 684894b6e549 [2021-04-22T09:10:32.471Z] ---> d54e81876390 [2021-04-22T09:10:32.471Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-22T09:10:32.744Z] ---> Running in 99f8a92cc505 [2021-04-22T09:10:33.723Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T09:10:34.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T09:10:35.289Z] OK: 144 MiB in 45 packages [2021-04-22T09:10:36.278Z] Removing intermediate container 99f8a92cc505 [2021-04-22T09:10:36.278Z] ---> a1b50a4a9e67 [2021-04-22T09:10:36.278Z] Step 7/23 : COPY . . [2021-04-22T09:10:37.719Z] ---> 721c41d122af [2021-04-22T09:10:37.719Z] Step 8/23 : RUN go mod download [2021-04-22T09:10:37.991Z] ---> Running in 82762865ea8e [2021-04-22T09:10:40.610Z] Removing intermediate container 82762865ea8e [2021-04-22T09:10:40.610Z] ---> 20742b1bc701 [2021-04-22T09:10:40.610Z] Step 9/23 : RUN make build [2021-04-22T09:10:40.610Z] ---> Running in 27a6623d9dd5 [2021-04-22T09:10:41.587Z] 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-04-22T09:11:13.971Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-22T09:11:17.352Z] Removing intermediate container 27a6623d9dd5 [2021-04-22T09:11:17.352Z] ---> ddb9324626d6 [2021-04-22T09:11:17.352Z] Step 10/23 : FROM alpine:3.12 [2021-04-22T09:11:17.352Z] 3.12: Pulling from library/alpine [2021-04-22T09:11:17.625Z] d2f70382dc9a: Pulling fs layer [2021-04-22T09:11:17.901Z] d2f70382dc9a: Download complete [2021-04-22T09:11:18.491Z] d2f70382dc9a: Pull complete [2021-04-22T09:11:18.491Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-22T09:11:18.491Z] Status: Downloaded newer image for alpine:3.12 [2021-04-22T09:11:18.491Z] ---> 9852663dfa18 [2021-04-22T09:11:18.491Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-22T09:11:18.763Z] ---> Running in 8b173cca1352 [2021-04-22T09:11:19.034Z] Removing intermediate container 8b173cca1352 [2021-04-22T09:11:19.034Z] ---> c34edcbe7a2f [2021-04-22T09:11:19.034Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-22T09:11:19.305Z] ---> Running in 4389d5047e17 [2021-04-22T09:11:21.284Z] Removing intermediate container 4389d5047e17 [2021-04-22T09:11:21.284Z] ---> 64dfe63e843d [2021-04-22T09:11:21.284Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-22T09:11:21.284Z] ---> Running in 2faf61b022af [2021-04-22T09:11:22.264Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-22T09:11:23.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-22T09:11:23.818Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-22T09:11:23.818Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-22T09:11:23.818Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-22T09:11:24.087Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-22T09:11:24.356Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-22T09:11:24.356Z] Executing busybox-1.31.1-r20.trigger [2021-04-22T09:11:24.356Z] OK: 8 MiB in 19 packages [2021-04-22T09:11:25.776Z] Removing intermediate container 2faf61b022af [2021-04-22T09:11:25.776Z] ---> fc4c364ed6bb [2021-04-22T09:11:25.776Z] Step 14/23 : WORKDIR / [2021-04-22T09:11:25.776Z] ---> Running in 951475e5d0b6 [2021-04-22T09:11:26.048Z] Removing intermediate container 951475e5d0b6 [2021-04-22T09:11:26.048Z] ---> a35568987648 [2021-04-22T09:11:26.048Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-22T09:11:27.018Z] ---> a2171524a38a [2021-04-22T09:11:27.018Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-22T09:11:27.993Z] ---> ce2250282bbe [2021-04-22T09:11:27.993Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-22T09:11:28.587Z] ---> 2915c3807178 [2021-04-22T09:11:28.587Z] Step 18/23 : EXPOSE 49990 [2021-04-22T09:11:28.859Z] ---> Running in 1ac7a1a692fe [2021-04-22T09:11:29.133Z] Removing intermediate container 1ac7a1a692fe [2021-04-22T09:11:29.133Z] ---> 4e90c91640b8 [2021-04-22T09:11:29.133Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-22T09:11:29.404Z] ---> Running in 66a193f2dcbd [2021-04-22T09:11:29.680Z] Removing intermediate container 66a193f2dcbd [2021-04-22T09:11:29.680Z] ---> 19fce6446359 [2021-04-22T09:11:29.680Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-22T09:11:29.956Z] ---> Running in b3b110457e99 [2021-04-22T09:11:30.548Z] Removing intermediate container b3b110457e99 [2021-04-22T09:11:30.548Z] ---> 079862bd589d [2021-04-22T09:11:30.548Z] Step 21/23 : LABEL arch=arm64 [2021-04-22T09:11:30.548Z] ---> Running in 206ad97bfc50 [2021-04-22T09:11:31.143Z] Removing intermediate container 206ad97bfc50 [2021-04-22T09:11:31.143Z] ---> 48281d31d916 [2021-04-22T09:11:31.143Z] Step 22/23 : LABEL git_sha=b49c517afded470ec08f589981ea555a484c8b78 [2021-04-22T09:11:31.143Z] ---> Running in 36105a8adaec [2021-04-22T09:11:31.739Z] Removing intermediate container 36105a8adaec [2021-04-22T09:11:31.739Z] ---> b516b2b8e806 [2021-04-22T09:11:31.739Z] Step 23/23 : LABEL version=0.0.0 [2021-04-22T09:11:31.739Z] ---> Running in 25ef415e0614 [2021-04-22T09:11:32.332Z] Removing intermediate container 25ef415e0614 [2021-04-22T09:11:32.332Z] ---> 846b1875d299 [2021-04-22T09:11:32.332Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-22T09:11:32.332Z] Successfully built 846b1875d299 [2021-04-22T09:11:32.332Z] Successfully tagged docker-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-04-22T09:11:32.804Z] ---> job-cost.sh [2021-04-22T09:11:32.804Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Oo2L [2021-04-22T09:12:11.780Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-22T09:13:48.515Z] lf-activate-venv(): INFO: Adding /tmp/venv-Oo2L/bin to PATH [2021-04-22T09:13:48.515Z] INFO: No Stack... [2021-04-22T09:13:48.515Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-22T09:13:48.515Z] INFO: Archiving Costs [Pipeline] sh [2021-04-22T09:13:48.847Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-04-22T09:13:48.847Z] + cut -d, -f6 [Pipeline] lock [2021-04-22T09:13:48.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [2021-04-22T09:13:48.967Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] did not exist. Created. [2021-04-22T09:13:48.967Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-22T09:13:49.331Z] /w/workspace/device-sdk-go/3@tmp/durable-bc1aed66/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-bc1aed66/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-22T09:13:49.675Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-22T09:13:49.708Z] Warning: overwriting stash ‘stack-cost’ [2021-04-22T09:13:49.864Z] Stashed 1 file(s) [Pipeline] } [2021-04-22T09:13:49.877Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-3-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] wrap [2021-04-22T09:13:50.613Z] provisioning config files... [2021-04-22T09:13:50.626Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config2745140353974563293tmp [Pipeline] { [Pipeline] sh [2021-04-22T09:13:50.953Z] + set +x [2021-04-22T09:13:50.953Z] + curl -s https://codecov.io/bash [2021-04-22T09:13:50.953Z] + bash -s -- [2021-04-22T09:13:51.216Z] [2021-04-22T09:13:51.216Z] _____ _ [2021-04-22T09:13:51.216Z] / ____| | | [2021-04-22T09:13:51.216Z] | | ___ __| | ___ ___ _____ __ [2021-04-22T09:13:51.216Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-22T09:13:51.216Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-22T09:13:51.216Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-22T09:13:51.216Z] Bash-1.0.2 [2021-04-22T09:13:51.216Z] [2021-04-22T09:13:51.216Z] [2021-04-22T09:13:51.216Z] ==> git version 2.24.3 found [2021-04-22T09:13:51.216Z] ==> 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-04-22T09:13:51.216Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-22T09:13:51.216Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-22T09:13:51.216Z] ==> Jenkins CI detected. [2021-04-22T09:13:51.216Z] project root: . [2021-04-22T09:13:51.216Z] --> token set from env [2021-04-22T09:13:51.216Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-22T09:13:51.216Z] ==> Running gcov in . (disable via -X gcov) [2021-04-22T09:13:51.216Z] ==> Python coveragepy not found [2021-04-22T09:13:51.216Z] ==> Searching for coverage reports in: [2021-04-22T09:13:51.216Z] + . [2021-04-22T09:13:51.216Z] -> Found 1 reports [2021-04-22T09:13:51.216Z] ==> Detecting git/mercurial file structure [2021-04-22T09:13:51.216Z] ==> Reading reports [2021-04-22T09:13:51.216Z] + ./coverage.out bytes=100024 [2021-04-22T09:13:51.216Z] ==> Appending adjustments [2021-04-22T09:13:51.216Z] https://docs.codecov.io/docs/fixing-reports [2021-04-22T09:13:51.482Z] + Found adjustments [2021-04-22T09:13:51.482Z] ==> Gzipping contents [2021-04-22T09:13:51.482Z] 16K /tmp/codecov.nFaYLq.gz [2021-04-22T09:13:51.482Z] ==> Uploading reports [2021-04-22T09:13:51.482Z] url: https://codecov.io [2021-04-22T09:13:51.482Z] query: branch=PR-892&commit=b49c517afded470ec08f589981ea555a484c8b78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= [2021-04-22T09:13:51.750Z] -> Pinging Codecov [2021-04-22T09:13:51.751Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-892&commit=b49c517afded470ec08f589981ea555a484c8b78&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= [2021-04-22T09:13:52.015Z] -> Uploading to [2021-04-22T09:13:52.015Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-22/7E55EF52A471D76F132DFD9A03CDDE97/b49c517afded470ec08f589981ea555a484c8b78/9a47cf61-8881-46ea-b1b8-e7e1469fd508.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210422T091351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92fcadc2a8301626731dd1af524b10613350510f366431723e2788eba15bd38e [2021-04-22T09:13:52.015Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-22T09:13:52.015Z] Dload Upload Total Spent Left Speed [2021-04-22T09:13:52.591Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13523 0 0 100 13523 0 27172 --:--:-- --:--:-- --:--:-- 27209 [2021-04-22T09:13:52.591Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b49c517afded470ec08f589981ea555a484c8b78 [Pipeline] } [2021-04-22T09:13:52.607Z] Deleting 1 temporary files [Pipeline] // wrap [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-04-22T09:13:53.569Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:13:54.250Z] ---> package-listing.sh [2021-04-22T09:13:54.250Z] ++ facter osfamily [2021-04-22T09:13:54.250Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-22T09:13:54.250Z] + OS_FAMILY=redhat [2021-04-22T09:13:54.250Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-892 [2021-04-22T09:13:54.250Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-22T09:13:54.250Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-22T09:13:54.250Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-22T09:13:54.250Z] + PACKAGES=/tmp/packages_start.txt [2021-04-22T09:13:54.250Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' [2021-04-22T09:13:54.250Z] + PACKAGES=/tmp/packages_end.txt [2021-04-22T09:13:54.250Z] + case "${OS_FAMILY}" in [2021-04-22T09:13:54.250Z] + rpm -qa [2021-04-22T09:13:54.250Z] + sort [2021-04-22T09:13:59.588Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-22T09:13:59.588Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-22T09:13:59.588Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-22T09:13:59.588Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' [2021-04-22T09:13:59.588Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ [2021-04-22T09:13:59.588Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ [Pipeline] echo [2021-04-22T09:13:59.603Z] 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-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-22T09:13:59.897Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:14:00.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T09:14:00.203Z] [2021-04-22T09:14:00.203Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-22T09:14:00.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T09:14:00.521Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-22T09:14:00.521Z] df20fa9351a1: Pulling fs layer [2021-04-22T09:14:00.521Z] 36b3adc4ff6f: Pulling fs layer [2021-04-22T09:14:00.521Z] 8ad3a11d3b57: Pulling fs layer [2021-04-22T09:14:00.521Z] 46f8f816bc3b: Pulling fs layer [2021-04-22T09:14:00.521Z] 93b61091891f: Pulling fs layer [2021-04-22T09:14:00.521Z] 93b9cdb0e59b: Pulling fs layer [2021-04-22T09:14:00.521Z] 5e14af77c1be: Pulling fs layer [2021-04-22T09:14:00.521Z] 01666e4c0597: Pulling fs layer [2021-04-22T09:14:00.521Z] aa168da1d23b: Pulling fs layer [2021-04-22T09:14:00.521Z] 46f8f816bc3b: Waiting [2021-04-22T09:14:00.521Z] 93b61091891f: Waiting [2021-04-22T09:14:00.521Z] 93b9cdb0e59b: Waiting [2021-04-22T09:14:00.521Z] 5e14af77c1be: Waiting [2021-04-22T09:14:00.521Z] 01666e4c0597: Waiting [2021-04-22T09:14:00.521Z] aa168da1d23b: Waiting [2021-04-22T09:14:00.521Z] 36b3adc4ff6f: Download complete [2021-04-22T09:14:00.521Z] 46f8f816bc3b: Verifying Checksum [2021-04-22T09:14:00.521Z] 46f8f816bc3b: Download complete [2021-04-22T09:14:00.783Z] df20fa9351a1: Verifying Checksum [2021-04-22T09:14:00.783Z] df20fa9351a1: Download complete [2021-04-22T09:14:00.783Z] 93b9cdb0e59b: Verifying Checksum [2021-04-22T09:14:00.783Z] 93b9cdb0e59b: Download complete [2021-04-22T09:14:00.783Z] 5e14af77c1be: Verifying Checksum [2021-04-22T09:14:00.783Z] 5e14af77c1be: Download complete [2021-04-22T09:14:00.783Z] 93b61091891f: Verifying Checksum [2021-04-22T09:14:00.783Z] 93b61091891f: Download complete [2021-04-22T09:14:00.783Z] 01666e4c0597: Verifying Checksum [2021-04-22T09:14:00.783Z] 01666e4c0597: Download complete [2021-04-22T09:14:01.046Z] 8ad3a11d3b57: Verifying Checksum [2021-04-22T09:14:01.046Z] 8ad3a11d3b57: Download complete [2021-04-22T09:14:01.311Z] df20fa9351a1: Pull complete [2021-04-22T09:14:01.311Z] 36b3adc4ff6f: Pull complete [2021-04-22T09:14:02.273Z] 8ad3a11d3b57: Pull complete [2021-04-22T09:14:02.273Z] 46f8f816bc3b: Pull complete [2021-04-22T09:14:03.236Z] 93b61091891f: Pull complete [2021-04-22T09:14:03.236Z] aa168da1d23b: Verifying Checksum [2021-04-22T09:14:03.236Z] aa168da1d23b: Download complete [2021-04-22T09:14:03.500Z] 93b9cdb0e59b: Pull complete [2021-04-22T09:14:03.500Z] 5e14af77c1be: Pull complete [2021-04-22T09:14:03.778Z] 01666e4c0597: Pull complete [2021-04-22T09:14:11.970Z] aa168da1d23b: Pull complete [2021-04-22T09:14:11.970Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-22T09:14:11.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-22T09:14:11.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-22T09:14:12.123Z] prd-centos7-docker-4c-2g-1433 does not seem to be running inside a container [2021-04-22T09:14:12.172Z] $ 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-892/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-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-22T09:14:15.664Z] $ docker top 7fd51c120620209dd3fa1a321baf7875d6f7ac8036dde62440e6943d0e875221 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-22T09:14:16.182Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-22T09:14:16.490Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-22T09:14:16.790Z] + ls /var/log/sa-host [2021-04-22T09:14:16.790Z] + sadf -c /var/log/sa-host/sa22 [2021-04-22T09:14:16.790Z] file_magic: OK [2021-04-22T09:14:16.790Z] HZ: Using current value: 100 [2021-04-22T09:14:16.790Z] file_header: OK [2021-04-22T09:14:16.790Z] 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-04-22T09:14:16.790Z] Statistics: [2021-04-22T09:14:16.790Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-22T09:14:16.790Z] File successfully converted to sysstat format version 12.2.1 [2021-04-22T09:14:16.790Z] + sadf -c /var/log/sa-host/sa23 [2021-04-22T09:14:16.790Z] file_magic: OK [2021-04-22T09:14:16.790Z] HZ: Using current value: 100 [2021-04-22T09:14:16.790Z] file_header: OK [2021-04-22T09:14:16.790Z] 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-04-22T09:14:16.790Z] Statistics: [2021-04-22T09:14:16.790Z] Hnuu...uuuununununu... [2021-04-22T09:14:16.790Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-22T09:14:17.034Z] provisioning config files... [2021-04-22T09:14:17.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config3100142280713084464tmp [Pipeline] { [Pipeline] echo [2021-04-22T09:14:17.090Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:14:17.388Z] ---> create-netrc.sh [Pipeline] } [2021-04-22T09:14:17.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-22T09:14:17.426Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:14:17.726Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-22T09:14:17.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:14:18.035Z] ---> sudo-logs.sh [2021-04-22T09:14:18.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-22T09:14:18.068Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:14:18.366Z] ---> job-cost.sh [2021-04-22T09:14:18.367Z] lf-activate-venv: SKIPPING [2021-04-22T09:14:18.367Z] DEBUG: total: 0.20999999344348907 [2021-04-22T09:14:18.367Z] INFO: Retrieving Stack Cost... [2021-04-22T09:14:19.775Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-22T09:14:20.352Z] INFO: Archiving Costs [Pipeline] echo [2021-04-22T09:14:20.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-22T09:14:20.676Z] ---> logs-deploy.sh [2021-04-22T09:14:20.676Z] lf-activate-venv: SKIPPING [2021-04-22T09:14:20.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-892/3 [2021-04-22T09:14:20.676Z] INFO: archiving workspace using pattern(s): [2021-04-22T09:14:22.596Z] Archives upload complete. [2021-04-22T09:14:22.596Z] INFO: archiving logs to Nexus [2021-04-22T09:14:23.544Z] ---> uname -a: [2021-04-22T09:14:23.544Z] Linux prd-centos7-docker-4c-2g-1433.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-22T09:14:23.544Z] [2021-04-22T09:14:23.544Z]