Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9+b058260e0a173cbd20e8373902e2c8ff53da770e (432e907d2e13303fa90647aece97495203fd40b2) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-16815 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [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-696 # 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 > 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/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 Merge succeeded, producing 2d947eead06e92078eaba158de24189ef51e4a03 Checking out Revision 2d947eead06e92078eaba158de24189ef51e4a03 (PR-696) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # 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 b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d947eead06e92078eaba158de24189ef51e4a03 # timeout=10 Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" > git rev-list --no-walk 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-19T02:43:24.409Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-19T02:43:24.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-19T02:43:24.769Z] ========================================================= [2020-12-19T02:43:24.769Z] EdgeX Global Pipelines Version Info [2020-12-19T02:43:24.769Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:43:26.416Z] ------------------- [2020-12-19T02:43:26.416Z] stable info: [2020-12-19T02:43:26.416Z] ------------------- [2020-12-19T02:43:26.416Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-19T02:43:26.416Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-19T02:43:26.416Z] Message: update stable to v1.0.173 [2020-12-19T02:43:27.363Z] ------------------- [2020-12-19T02:43:27.363Z] experimental info: [2020-12-19T02:43:27.363Z] ------------------- [2020-12-19T02:43:27.363Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-19T02:43:27.363Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-19T02:43:27.363Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-19T02:43:27.602Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-19T02:43:27.689Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-19T02:43:27.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-19T02:43:27.855Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-19T02:43:27.946Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-19T02:43:28.029Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-19T02:43:28.122Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-19T02:43:28.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-19T02:43:28.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-19T02:43:28.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-19T02:43:28.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-19T02:43:28.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-19T02:43:28.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-19T02:43:28.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-19T02:43:28.870Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-19T02:43:28.953Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T02:43:29.038Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T02:43:29.127Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-19T02:43:29.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-19T02:43:29.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-19T02:43:29.370Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-19T02:43:29.452Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-19T02:43:29.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-19T02:43:29.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-19T02:43:29.725Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-19T02:43:29.837Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-19T02:43:29.921Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-19T02:43:30.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-696 [Pipeline] echo [2020-12-19T02:43:30.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-696 [Pipeline] echo [2020-12-19T02:43:30.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-696 [Pipeline] echo [2020-12-19T02:43:30.332Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d947eead06e92078eaba158de24189ef51e4a03 [Pipeline] echo [2020-12-19T02:43:30.479Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d947ee [Pipeline] echo [2020-12-19T02:43:30.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T02:43:30.833Z] provisioning config files... [2020-12-19T02:43:30.860Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config2691277040278303267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:43:31.222Z] ---> docker-login.sh [2020-12-19T02:43:31.222Z] nexus3.edgexfoundry.org:10001 [2020-12-19T02:43:31.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:31.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:31.754Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:31.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:31.754Z] [2020-12-19T02:43:31.754Z] Login Succeeded [2020-12-19T02:43:31.754Z] nexus3.edgexfoundry.org:10002 [2020-12-19T02:43:31.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:31.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:31.754Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:31.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:31.754Z] [2020-12-19T02:43:31.754Z] Login Succeeded [2020-12-19T02:43:31.754Z] nexus3.edgexfoundry.org:10003 [2020-12-19T02:43:32.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:32.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:32.021Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:32.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:32.021Z] [2020-12-19T02:43:32.021Z] Login Succeeded [2020-12-19T02:43:32.021Z] nexus3.edgexfoundry.org:10004 [2020-12-19T02:43:32.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:32.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:32.289Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:32.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:32.289Z] [2020-12-19T02:43:32.289Z] Login Succeeded [2020-12-19T02:43:32.289Z] docker.io [2020-12-19T02:43:32.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:43:37.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:43:37.605Z] Configure a credential helper to remove this warning. See [2020-12-19T02:43:37.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:43:37.605Z] [2020-12-19T02:43:37.605Z] Login Succeeded [2020-12-19T02:43:37.605Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T02:43:37.616Z] 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 [2020-12-19T02:43:38.557Z] + git log --format=format:%s -1 2d947eead06e92078eaba158de24189ef51e4a03 [Pipeline] echo [2020-12-19T02:43:38.623Z] GIT_COMMIT: 2d947eead06e92078eaba158de24189ef51e4a03, Commit Message: Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD [Pipeline] echo [2020-12-19T02:43:38.687Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:43:39.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T02:43:39.313Z] [2020-12-19T02:43:39.313Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:43:39.671Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T02:43:39.671Z] latest: Pulling from edgex-devops/git-semver [2020-12-19T02:43:39.671Z] 31603596830f: Pulling fs layer [2020-12-19T02:43:39.671Z] 2a8b12db71e7: Pulling fs layer [2020-12-19T02:43:39.671Z] 6ca5941a6612: Pulling fs layer [2020-12-19T02:43:39.671Z] ecc8261a40a4: Pulling fs layer [2020-12-19T02:43:39.671Z] ecc8261a40a4: Waiting [2020-12-19T02:43:39.671Z] 2a8b12db71e7: Verifying Checksum [2020-12-19T02:43:39.671Z] 2a8b12db71e7: Download complete [2020-12-19T02:43:39.945Z] 31603596830f: Verifying Checksum [2020-12-19T02:43:39.945Z] 31603596830f: Download complete [2020-12-19T02:43:39.945Z] ecc8261a40a4: Verifying Checksum [2020-12-19T02:43:39.945Z] ecc8261a40a4: Download complete [2020-12-19T02:43:39.945Z] 6ca5941a6612: Verifying Checksum [2020-12-19T02:43:39.945Z] 6ca5941a6612: Download complete [2020-12-19T02:43:40.208Z] 31603596830f: Pull complete [2020-12-19T02:43:40.475Z] 2a8b12db71e7: Pull complete [2020-12-19T02:43:41.426Z] 6ca5941a6612: Pull complete [2020-12-19T02:43:41.426Z] ecc8261a40a4: Pull complete [2020-12-19T02:43:41.426Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-19T02:43:41.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-19T02:43:41.426Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-19T02:43:41.529Z] prd-centos7-docker-4c-2g-16815 does not seem to be running inside a container [2020-12-19T02:43:41.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-696 -v /w/workspace/dgexfoundry_device-sdk-go_PR-696:/w/workspace/dgexfoundry_device-sdk-go_PR-696:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-696@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:10004/edgex-devops/git-semver:latest cat [2020-12-19T02:43:43.431Z] $ docker top 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-19T02:43:44.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-19T02:43:44.030Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-19T02:43:44.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-19T02:43:44.272Z] $ docker exec 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 ssh-agent [2020-12-19T02:43:44.435Z] SSH_AUTH_SOCK=/tmp/ssh-6tAMcsJnYzSq/agent.11 [2020-12-19T02:43:44.435Z] SSH_AGENT_PID=16 [2020-12-19T02:43:44.446Z] Running ssh-add (command line suppressed) [2020-12-19T02:43:44.573Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_6680215475557199658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_6680215475557199658.key) [2020-12-19T02:43:44.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-19T02:43:44.965Z] + git tag --points-at HEAD [Pipeline] } [2020-12-19T02:43:44.991Z] $ docker exec --env ******** --env ******** 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 ssh-agent -k [2020-12-19T02:43:45.101Z] unset SSH_AUTH_SOCK; [2020-12-19T02:43:45.102Z] unset SSH_AGENT_PID; [2020-12-19T02:43:45.102Z] echo Agent pid 16 killed; [2020-12-19T02:43:45.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-19T02:43:45.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-19T02:43:45.276Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-19T02:43:45.443Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-19T02:43:45.448Z] $ docker exec 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 ssh-agent [2020-12-19T02:43:45.604Z] SSH_AUTH_SOCK=/tmp/ssh-WVBdONNODgXd/agent.46 [2020-12-19T02:43:45.604Z] SSH_AGENT_PID=51 [2020-12-19T02:43:45.610Z] Running ssh-add (command line suppressed) [2020-12-19T02:43:45.728Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_8605626827865625856.key (/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_8605626827865625856.key) [2020-12-19T02:43:45.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-19T02:43:46.111Z] + git semver init [2020-12-19T02:43:46.111Z] # -> Open(): unable to determine branch for HEAD [2020-12-19T02:43:46.111Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-696/.git [2020-12-19T02:43:46.111Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-696 [2020-12-19T02:43:46.111Z] # $SEMVER_REMOTE_NAME = origin [2020-12-19T02:43:46.111Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-19T02:43:46.111Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-19T02:43:46.111Z] # $SEMVER_BRANCH = PR-696 [2020-12-19T02:43:46.111Z] # $SEMVER_TEMP = /tmp/semver-828781776 [2020-12-19T02:43:46.111Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-19T02:43:47.056Z] # '/tmp/semver-828781776' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-696/.semver' [2020-12-19T02:43:47.056Z] # -> Force: false [2020-12-19T02:43:47.056Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-696/.semver [Pipeline] } [2020-12-19T02:43:47.070Z] $ docker exec --env ******** --env ******** 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 ssh-agent -k [2020-12-19T02:43:47.184Z] unset SSH_AUTH_SOCK; [2020-12-19T02:43:47.184Z] unset SSH_AGENT_PID; [2020-12-19T02:43:47.184Z] echo Agent pid 51 killed; [2020-12-19T02:43:47.243Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-19T02:43:47.736Z] + git semver [Pipeline] } [2020-12-19T02:43:47.757Z] $ docker stop --time=1 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 [2020-12-19T02:43:49.372Z] $ docker rm -f 223fe4df530ffbd559108f2a87fd4447282ebc7c93d2f9c41a1ca84575216617 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-19T02:43:49.860Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-19T02:43:50.286Z] Stashed 1 file(s) [Pipeline] echo [2020-12-19T02:43:50.289Z] [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 [2020-12-19T02:44:05.985Z] Still waiting to schedule task [2020-12-19T02:44:05.985Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-19T02:44:05.987Z] Still waiting to schedule task [2020-12-19T02:44:05.987Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-16816’ is offline [2020-12-19T02:45:34.091Z] Running on prd-centos7-docker-4c-2g-16821 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] ws [2020-12-19T02:45:34.161Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-19T02:45:41.723Z] using credential edgex-jenkins-ssh [2020-12-19T02:45:41.784Z] Cloning the remote Git repository [2020-12-19T02:45:41.826Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:45:41.920Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-19T02:45:42.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:45:42.020Z] > git --version # timeout=10 [2020-12-19T02:45:42.067Z] > git --version # 'git version 2.24.3' [2020-12-19T02:45:42.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:45:42.167Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:45:43.664Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 [2020-12-19T02:45:43.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:45:43.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:45:43.046Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:45:43.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:45:43.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:45:43.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-19T02:45:43.749Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:45:43.850Z] > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 [2020-12-19T02:45:43.958Z] > git remote # timeout=10 [2020-12-19T02:45:44.056Z] Merge succeeded, producing 9638457d0e1f2b0711039f30b4424c2db9d10681 [2020-12-19T02:45:44.056Z] Checking out Revision 9638457d0e1f2b0711039f30b4424c2db9d10681 (PR-696) [2020-12-19T02:45:43.981Z] > git config --get remote.origin.url # timeout=10 [2020-12-19T02:45:43.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:45:43.996Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-19T02:45:44.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-19T02:45:44.061Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:45:44.082Z] > git checkout -f 9638457d0e1f2b0711039f30b4424c2db9d10681 # timeout=10 [2020-12-19T02:45:48.141Z] Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" [2020-12-19T02:45:48.147Z] > git rev-list --no-walk 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T02:45:50.026Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:45:50.705Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:45:51.057Z] + true [2020-12-19T02:45:51.057Z] + sudo service docker restart [2020-12-19T02:45:51.057Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T02:45:52.784Z] provisioning config files... [2020-12-19T02:45:52.824Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1115374519981016034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:45:53.278Z] ---> docker-login.sh [2020-12-19T02:45:53.278Z] nexus3.edgexfoundry.org:10001 [2020-12-19T02:45:53.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:45:54.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:45:54.165Z] Configure a credential helper to remove this warning. See [2020-12-19T02:45:54.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:45:54.165Z] [2020-12-19T02:45:54.165Z] Login Succeeded [2020-12-19T02:45:54.165Z] nexus3.edgexfoundry.org:10002 [2020-12-19T02:45:54.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:45:54.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:45:54.446Z] Configure a credential helper to remove this warning. See [2020-12-19T02:45:54.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:45:54.446Z] [2020-12-19T02:45:54.446Z] Login Succeeded [2020-12-19T02:45:54.446Z] nexus3.edgexfoundry.org:10003 [2020-12-19T02:45:54.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:45:54.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:45:54.731Z] Configure a credential helper to remove this warning. See [2020-12-19T02:45:54.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:45:54.731Z] [2020-12-19T02:45:54.731Z] Login Succeeded [2020-12-19T02:45:54.731Z] nexus3.edgexfoundry.org:10004 [2020-12-19T02:45:55.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:45:55.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:45:55.301Z] Configure a credential helper to remove this warning. See [2020-12-19T02:45:55.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:45:55.301Z] [2020-12-19T02:45:55.301Z] Login Succeeded [2020-12-19T02:45:55.301Z] docker.io [2020-12-19T02:45:55.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:45:55.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:45:55.913Z] Configure a credential helper to remove this warning. See [2020-12-19T02:45:55.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:45:55.913Z] [2020-12-19T02:45:55.913Z] Login Succeeded [2020-12-19T02:45:55.913Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T02:45:55.931Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-19T02:45:56.472Z] ========================================================= [2020-12-19T02:45:56.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-19T02:45:56.472Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:45:56.877Z] + 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 . [2020-12-19T02:45:57.501Z] Sending build context to Docker daemon 2.437MB [2020-12-19T02:45:57.501Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-19T02:45:57.501Z] Step 2/8 : FROM ${BASE} [2020-12-19T02:45:57.806Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-19T02:45:57.806Z] 188c0c94c7c5: Pulling fs layer [2020-12-19T02:45:57.806Z] 0ef7d3d256c8: Pulling fs layer [2020-12-19T02:45:57.806Z] de9db76c5a1d: Pulling fs layer [2020-12-19T02:45:57.806Z] bca2f99d35d6: Pulling fs layer [2020-12-19T02:45:57.806Z] 93359f2a8cfa: Pulling fs layer [2020-12-19T02:45:57.806Z] 7c6f9722023f: Pulling fs layer [2020-12-19T02:45:57.806Z] a35cf1a2eb13: Pulling fs layer [2020-12-19T02:45:57.806Z] bca2f99d35d6: Waiting [2020-12-19T02:45:57.806Z] 93359f2a8cfa: Waiting [2020-12-19T02:45:57.806Z] 7c6f9722023f: Waiting [2020-12-19T02:45:57.806Z] a35cf1a2eb13: Waiting [2020-12-19T02:45:57.806Z] de9db76c5a1d: Download complete [2020-12-19T02:45:57.806Z] 0ef7d3d256c8: Verifying Checksum [2020-12-19T02:45:57.806Z] 0ef7d3d256c8: Download complete [2020-12-19T02:45:57.806Z] 93359f2a8cfa: Verifying Checksum [2020-12-19T02:45:57.806Z] 93359f2a8cfa: Download complete [2020-12-19T02:45:58.125Z] 7c6f9722023f: Verifying Checksum [2020-12-19T02:45:58.126Z] 7c6f9722023f: Download complete [2020-12-19T02:45:58.535Z] 188c0c94c7c5: Verifying Checksum [2020-12-19T02:45:58.535Z] 188c0c94c7c5: Download complete [2020-12-19T02:45:59.172Z] 188c0c94c7c5: Pull complete [2020-12-19T02:45:59.793Z] 0ef7d3d256c8: Pull complete [2020-12-19T02:46:00.081Z] de9db76c5a1d: Pull complete [2020-12-19T02:46:05.783Z] a35cf1a2eb13: Verifying Checksum [2020-12-19T02:46:05.783Z] a35cf1a2eb13: Download complete [2020-12-19T02:46:06.062Z] bca2f99d35d6: Verifying Checksum [2020-12-19T02:46:06.062Z] bca2f99d35d6: Download complete [2020-12-19T02:46:21.349Z] bca2f99d35d6: Pull complete [2020-12-19T02:46:21.349Z] 93359f2a8cfa: Pull complete [2020-12-19T02:46:21.349Z] 7c6f9722023f: Pull complete [2020-12-19T02:46:28.175Z] a35cf1a2eb13: Pull complete [2020-12-19T02:46:28.175Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-19T02:46:28.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-19T02:46:28.175Z] ---> a62c8e92a672 [2020-12-19T02:46:28.175Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:46:28.459Z] ---> Running in 4698a1f95b94 [2020-12-19T02:46:29.138Z] Removing intermediate container 4698a1f95b94 [2020-12-19T02:46:29.138Z] ---> 592ddaf73aff [2020-12-19T02:46:29.138Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T02:46:29.138Z] ---> Running in 63164fe93d24 [2020-12-19T02:46:31.988Z] Removing intermediate container 63164fe93d24 [2020-12-19T02:46:31.988Z] ---> c605c4d0874f [2020-12-19T02:46:31.988Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-19T02:46:31.988Z] ---> Running in 37f5643e2093 [2020-12-19T02:46:33.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-19T02:46:34.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-19T02:46:34.816Z] OK: 166 MiB in 39 packages [2020-12-19T02:46:35.433Z] Removing intermediate container 37f5643e2093 [2020-12-19T02:46:35.433Z] ---> dcd79ea05f44 [2020-12-19T02:46:35.433Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-19T02:46:35.702Z] ---> Running in 0c10913216e4 [2020-12-19T02:46:36.006Z] Removing intermediate container 0c10913216e4 [2020-12-19T02:46:36.006Z] ---> 29cb729d3ba7 [2020-12-19T02:46:36.006Z] Step 7/8 : COPY . . [2020-12-19T02:46:37.996Z] ---> f99b08514f5d [2020-12-19T02:46:37.996Z] Step 8/8 : RUN go mod download [2020-12-19T02:46:37.996Z] ---> Running in 032c87b3e366 [2020-12-19T02:47:05.329Z] Removing intermediate container 032c87b3e366 [2020-12-19T02:47:05.329Z] ---> ba8975220879 [2020-12-19T02:47:05.329Z] Successfully built ba8975220879 [2020-12-19T02:47:05.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:47:06.016Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-19T02:47:06.016Z] . [Pipeline] withDockerContainer [2020-12-19T02:47:06.244Z] prd-centos7-docker-4c-2g-16821 does not seem to be running inside a container [2020-12-19T02:47:06.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-19T02:47:07.890Z] $ docker top 6ecc63246e9f2c8108ee5c062c1934790ac331e730845dedc48b48e7b869bc4d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:47:08.538Z] + go version [2020-12-19T02:47:08.538Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-19T02:47:08.563Z] $ docker stop --time=1 6ecc63246e9f2c8108ee5c062c1934790ac331e730845dedc48b48e7b869bc4d [2020-12-19T02:47:10.104Z] $ docker rm -f 6ecc63246e9f2c8108ee5c062c1934790ac331e730845dedc48b48e7b869bc4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:47:11.238Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-19T02:47:11.238Z] . [Pipeline] withDockerContainer [2020-12-19T02:47:11.568Z] prd-centos7-docker-4c-2g-16821 does not seem to be running inside a container [2020-12-19T02:47:11.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-19T02:47:12.654Z] $ docker top 53eefe42bf5a0a8b24f69a43ea54e520ac42c4722d4b3a4b0e98451d5e999e79 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:47:13.777Z] + make test [2020-12-19T02:47:13.777Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-19T02:47:14.292Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16823 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] ws [2020-12-19T02:47:14.346Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-12-19T02:47:19.876Z] using credential edgex-jenkins-ssh [2020-12-19T02:47:19.937Z] Cloning the remote Git repository [2020-12-19T02:47:20.004Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:47:20.108Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-12-19T02:47:20.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:47:20.182Z] > git --version # timeout=10 [2020-12-19T02:47:20.200Z] > git --version # 'git version 2.17.1' [2020-12-19T02:47:20.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:47:20.261Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:47:21.628Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:47:21.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-19T02:47:21.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-19T02:47:21.711Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-19T02:47:21.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:47:21.726Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-19T02:47:22.348Z] Merging remotes/origin/master commit b058260e0a173cbd20e8373902e2c8ff53da770e into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 [2020-12-19T02:47:22.657Z] Merge succeeded, producing 90fd5c0f01abc2a8c2b0ceddb0c78bb4851a2981 [2020-12-19T02:47:22.658Z] Checking out Revision 90fd5c0f01abc2a8c2b0ceddb0c78bb4851a2981 (PR-696) [2020-12-19T02:47:22.379Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:47:22.401Z] > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 [2020-12-19T02:47:22.519Z] > git remote # timeout=10 [2020-12-19T02:47:22.538Z] > git config --get remote.origin.url # timeout=10 [2020-12-19T02:47:22.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-19T02:47:22.562Z] > git merge b058260e0a173cbd20e8373902e2c8ff53da770e # timeout=10 [2020-12-19T02:47:22.654Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-19T02:47:22.676Z] > git config core.sparsecheckout # timeout=10 [2020-12-19T02:47:22.688Z] > git checkout -f 90fd5c0f01abc2a8c2b0ceddb0c78bb4851a2981 # timeout=10 [2020-12-19T02:47:26.537Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-19T02:47:27.107Z] Commit message: "Merge commit 'b058260e0a173cbd20e8373902e2c8ff53da770e' into HEAD" [2020-12-19T02:47:27.126Z] > git rev-list --no-walk 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T02:47:28.857Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:47:29.336Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-19T02:47:29.680Z] + + sudo servicetrue docker [2020-12-19T02:47:29.680Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-19T02:47:32.404Z] provisioning config files... [2020-12-19T02:47:32.441Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1504077826882874514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:47:32.849Z] ---> docker-login.sh [2020-12-19T02:47:32.849Z] nexus3.edgexfoundry.org:10001 [2020-12-19T02:47:33.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:47:34.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:47:34.064Z] Configure a credential helper to remove this warning. See [2020-12-19T02:47:34.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:47:34.064Z] [2020-12-19T02:47:34.064Z] Login Succeeded [2020-12-19T02:47:34.064Z] nexus3.edgexfoundry.org:10002 [2020-12-19T02:47:34.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:47:34.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:47:34.614Z] Configure a credential helper to remove this warning. See [2020-12-19T02:47:34.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:47:34.614Z] [2020-12-19T02:47:34.614Z] Login Succeeded [2020-12-19T02:47:34.614Z] nexus3.edgexfoundry.org:10003 [2020-12-19T02:47:34.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:47:35.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:47:35.161Z] Configure a credential helper to remove this warning. See [2020-12-19T02:47:35.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:47:35.161Z] [2020-12-19T02:47:35.161Z] Login Succeeded [2020-12-19T02:47:35.161Z] nexus3.edgexfoundry.org:10004 [2020-12-19T02:47:35.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:47:35.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:47:35.710Z] Configure a credential helper to remove this warning. See [2020-12-19T02:47:35.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:47:35.710Z] [2020-12-19T02:47:35.710Z] Login Succeeded [2020-12-19T02:47:35.710Z] docker.io [2020-12-19T02:47:35.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-19T02:47:36.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-19T02:47:36.579Z] Configure a credential helper to remove this warning. See [2020-12-19T02:47:36.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-19T02:47:36.579Z] [2020-12-19T02:47:36.579Z] Login Succeeded [2020-12-19T02:47:36.579Z] ---> docker-login.sh ends [Pipeline] } [2020-12-19T02:47:36.597Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-19T02:47:37.081Z] ========================================================= [2020-12-19T02:47:37.081Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-19T02:47:37.081Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:47:37.463Z] + 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 . [2020-12-19T02:47:38.085Z] Sending build context to Docker daemon 2.434MB [2020-12-19T02:47:38.085Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-19T02:47:38.085Z] Step 2/8 : FROM ${BASE} [2020-12-19T02:47:38.085Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-19T02:47:38.085Z] 5f621e34cdf4: Pulling fs layer [2020-12-19T02:47:38.085Z] a4357932f1b6: Pulling fs layer [2020-12-19T02:47:38.085Z] 18c013af1878: Pulling fs layer [2020-12-19T02:47:38.085Z] 00ac8860ef70: Pulling fs layer [2020-12-19T02:47:38.085Z] 63d7cb157983: Pulling fs layer [2020-12-19T02:47:38.085Z] b116817d02f9: Pulling fs layer [2020-12-19T02:47:38.085Z] 745a02a5169b: Pulling fs layer [2020-12-19T02:47:38.085Z] 00ac8860ef70: Waiting [2020-12-19T02:47:38.085Z] 63d7cb157983: Waiting [2020-12-19T02:47:38.085Z] b116817d02f9: Waiting [2020-12-19T02:47:38.085Z] 745a02a5169b: Waiting [2020-12-19T02:47:38.085Z] 18c013af1878: Verifying Checksum [2020-12-19T02:47:38.085Z] 18c013af1878: Download complete [2020-12-19T02:47:38.085Z] a4357932f1b6: Verifying Checksum [2020-12-19T02:47:38.085Z] a4357932f1b6: Download complete [2020-12-19T02:47:38.085Z] 63d7cb157983: Download complete [2020-12-19T02:47:38.691Z] b116817d02f9: Verifying Checksum [2020-12-19T02:47:38.691Z] b116817d02f9: Download complete [2020-12-19T02:47:38.691Z] 5f621e34cdf4: Verifying Checksum [2020-12-19T02:47:38.691Z] 5f621e34cdf4: Download complete [2020-12-19T02:47:39.309Z] 5f621e34cdf4: Pull complete [2020-12-19T02:47:39.925Z] a4357932f1b6: Pull complete [2020-12-19T02:47:40.527Z] 18c013af1878: Pull complete [2020-12-19T02:47:41.513Z] 745a02a5169b: Verifying Checksum [2020-12-19T02:47:41.513Z] 745a02a5169b: Download complete [2020-12-19T02:47:42.509Z] 00ac8860ef70: Verifying Checksum [2020-12-19T02:47:42.509Z] 00ac8860ef70: Download complete [2020-12-19T02:47:52.674Z] 00ac8860ef70: Pull complete [2020-12-19T02:47:52.674Z] 63d7cb157983: Pull complete [2020-12-19T02:47:52.949Z] b116817d02f9: Pull complete [2020-12-19T02:47:54.126Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-19T02:47:54.126Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-19T02:47:54.126Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-19T02:47:55.329Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.082s coverage: 19.4% of statements [2020-12-19T02:47:57.284Z] 745a02a5169b: Pull complete [2020-12-19T02:47:57.284Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-19T02:47:57.284Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-19T02:47:57.284Z] ---> b7e6874047d6 [2020-12-19T02:47:57.284Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:47:59.036Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.003s coverage: 97.1% of statements [2020-12-19T02:47:59.909Z] ---> Running in bef00efe84c1 [2020-12-19T02:47:59.909Z] Removing intermediate container bef00efe84c1 [2020-12-19T02:47:59.909Z] ---> 979195d186e1 [2020-12-19T02:47:59.909Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T02:48:00.182Z] ---> Running in b3cc07be4a56 [2020-12-19T02:48:02.838Z] Removing intermediate container b3cc07be4a56 [2020-12-19T02:48:02.838Z] ---> 7b76d40684dc [2020-12-19T02:48:02.838Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-19T02:48:02.838Z] ---> Running in 0779ff64fb97 [2020-12-19T02:48:03.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-19T02:48:04.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-19T02:48:05.389Z] OK: 142 MiB in 39 packages [2020-12-19T02:48:06.362Z] Removing intermediate container 0779ff64fb97 [2020-12-19T02:48:06.362Z] ---> b6fbb132c814 [2020-12-19T02:48:06.362Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-19T02:48:06.634Z] ---> Running in 82421e9e27ae [2020-12-19T02:48:07.226Z] Removing intermediate container 82421e9e27ae [2020-12-19T02:48:07.226Z] ---> 526a1f08f883 [2020-12-19T02:48:07.226Z] Step 7/8 : COPY . . [2020-12-19T02:48:08.671Z] ---> e60ef09a4089 [2020-12-19T02:48:08.671Z] Step 8/8 : RUN go mod download [2020-12-19T02:48:08.671Z] ---> Running in f27de50fec61 [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.179s coverage: 9.4% of statements [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.103s coverage: 21.9% of statements [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.450s coverage: 42.5% of statements [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.573s coverage: 68.9% of statements [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.180s coverage: 53.8% of statements [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.895s coverage: 68.9% of statements [2020-12-19T02:48:26.061Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.102s coverage: 4.3% of statements [2020-12-19T02:48:26.061Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-19T02:48:26.061Z] GO111MODULE=on go vet ./... [2020-12-19T02:48:30.845Z] Removing intermediate container f27de50fec61 [2020-12-19T02:48:30.845Z] ---> 69fd0657c6d6 [2020-12-19T02:48:30.845Z] Successfully built 69fd0657c6d6 [2020-12-19T02:48:30.845Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:48:31.184Z] + docker inspect -f . ci-base-image-arm64 [2020-12-19T02:48:31.184Z] . [Pipeline] withDockerContainer [2020-12-19T02:48:31.463Z] prd-ubuntu18.04-docker-arm64-4c-16g-16823 does not seem to be running inside a container [2020-12-19T02:48:31.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-19T02:48:33.046Z] $ docker top fed190999fffa9c86bec124f3326fa5fde05a511478b2b79a65c4866f99f932b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:48:34.082Z] + go version [2020-12-19T02:48:34.083Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-19T02:48:34.112Z] $ docker stop --time=1 fed190999fffa9c86bec124f3326fa5fde05a511478b2b79a65c4866f99f932b [2020-12-19T02:48:36.081Z] $ docker rm -f fed190999fffa9c86bec124f3326fa5fde05a511478b2b79a65c4866f99f932b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:48:37.092Z] + docker inspect -f . ci-base-image-arm64 [2020-12-19T02:48:37.092Z] . [Pipeline] withDockerContainer [2020-12-19T02:48:37.348Z] prd-ubuntu18.04-docker-arm64-4c-16g-16823 does not seem to be running inside a container [2020-12-19T02:48:37.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-19T02:48:38.957Z] $ docker top d2a079a6cc6fe7209c15581c5af48bb8b44064e6b2b4c36292091a82753a1be8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:48:39.986Z] + make test [2020-12-19T02:48:39.986Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-19T02:48:53.567Z] gofmt -l . [2020-12-19T02:48:53.567Z] [ "`gofmt -l .`" = "" ] [2020-12-19T02:48:53.567Z] ./bin/test-attribution-txt.sh [2020-12-19T02:48:53.567Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-19T02:48:53.600Z] $ docker stop --time=1 53eefe42bf5a0a8b24f69a43ea54e520ac42c4722d4b3a4b0e98451d5e999e79 [2020-12-19T02:48:56.022Z] $ docker rm -f 53eefe42bf5a0a8b24f69a43ea54e520ac42c4722d4b3a4b0e98451d5e999e79 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-19T02:48:56.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-19T02:48:58.028Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-19T02:48:59.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-19T02:48:59.631Z] + ls -al . [2020-12-19T02:48:59.631Z] total 208 [2020-12-19T02:48:59.631Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 19 02:48 . [2020-12-19T02:48:59.631Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 19 02:45 .. [2020-12-19T02:48:59.631Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 19 02:45 bin [2020-12-19T02:48:59.631Z] -rw-r--r--. 1 jenkins jenkins 130290 Dec 19 02:48 coverage.out [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 936 Dec 19 02:45 Dockerfile.build [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 19 02:45 .dockerignore [2020-12-19T02:48:59.631Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 19 02:45 example [2020-12-19T02:48:59.631Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 19 02:45 .git [2020-12-19T02:48:59.631Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 19 02:45 .github [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 19 02:45 .gitignore [2020-12-19T02:48:59.631Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 19 02:48 go.mod [2020-12-19T02:48:59.631Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 19 02:48 go.sum [2020-12-19T02:48:59.631Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 19 02:45 internal [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 19 02:45 Jenkinsfile [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 19 02:45 LICENSE [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 19 02:45 Makefile [2020-12-19T02:48:59.631Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 19 02:45 openapi [2020-12-19T02:48:59.631Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 19 02:45 pkg [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 19 02:45 README.md [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 19 02:45 RELEASE-NOTES.txt [2020-12-19T02:48:59.631Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 19 02:45 snap [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 19 02:43 VERSION [2020-12-19T02:48:59.631Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 19 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:48:59.958Z] + 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=2d947eead06e92078eaba158de24189ef51e4a03 --label arch=amd64 --label version=0.0.0 . [2020-12-19T02:49:00.574Z] Sending build context to Docker daemon 2.568MB [2020-12-19T02:49:00.574Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-19T02:49:00.574Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-19T02:49:00.574Z] ---> ba8975220879 [2020-12-19T02:49:00.574Z] Step 3/24 : ARG MAKE='make build' [2020-12-19T02:49:00.840Z] ---> Running in beed243ad3bc [2020-12-19T02:49:01.103Z] Removing intermediate container beed243ad3bc [2020-12-19T02:49:01.103Z] ---> f3c8880bf854 [2020-12-19T02:49:01.103Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-19T02:49:01.103Z] ---> Running in 4875f132d54a [2020-12-19T02:49:01.379Z] Removing intermediate container 4875f132d54a [2020-12-19T02:49:01.379Z] ---> b8080ee9a1f3 [2020-12-19T02:49:01.379Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:49:01.379Z] ---> Running in ce93a6faa9b7 [2020-12-19T02:49:01.993Z] Removing intermediate container ce93a6faa9b7 [2020-12-19T02:49:01.993Z] ---> a1eb03418aa8 [2020-12-19T02:49:01.993Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T02:49:01.993Z] ---> Running in 842ba726d32f [2020-12-19T02:49:02.179Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-19T02:49:03.992Z] Removing intermediate container 842ba726d32f [2020-12-19T02:49:03.992Z] ---> 52aab3017d3c [2020-12-19T02:49:03.992Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-19T02:49:03.992Z] ---> Running in 441c2853e649 [2020-12-19T02:49:04.605Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-19T02:49:05.194Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-19T02:49:05.802Z] OK: 166 MiB in 39 packages [2020-12-19T02:49:06.609Z] Removing intermediate container 441c2853e649 [2020-12-19T02:49:06.609Z] ---> fc945748e9ac [2020-12-19T02:49:06.609Z] Step 8/24 : COPY . . [2020-12-19T02:49:08.075Z] ---> 515469a6f9b7 [2020-12-19T02:49:08.075Z] Step 9/24 : RUN ${MAKE} [2020-12-19T02:49:08.075Z] ---> Running in 795d58f8f2db [2020-12-19T02:49:09.136Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-19T02:49:31.703Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-19T02:49:35.035Z] Removing intermediate container 795d58f8f2db [2020-12-19T02:49:35.035Z] ---> 3cd71ad80160 [2020-12-19T02:49:35.035Z] Step 10/24 : FROM scratch [2020-12-19T02:49:35.035Z] ---> [2020-12-19T02:49:35.035Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:49:35.035Z] ---> Running in fc89e299c108 [2020-12-19T02:49:35.035Z] Removing intermediate container fc89e299c108 [2020-12-19T02:49:35.035Z] ---> 3ec75947da25 [2020-12-19T02:49:35.035Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-19T02:49:35.035Z] ---> Running in 797dcc007705 [2020-12-19T02:49:35.373Z] Removing intermediate container 797dcc007705 [2020-12-19T02:49:35.373Z] ---> 032ab9c39c13 [2020-12-19T02:49:35.373Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-19T02:49:35.772Z] ---> Running in 38514f21d6f9 [2020-12-19T02:49:35.772Z] Removing intermediate container 38514f21d6f9 [2020-12-19T02:49:35.772Z] ---> ff9403b7f594 [2020-12-19T02:49:35.772Z] Step 14/24 : WORKDIR / [2020-12-19T02:49:36.064Z] ---> Running in e903b54328d4 [2020-12-19T02:49:36.414Z] Removing intermediate container e903b54328d4 [2020-12-19T02:49:36.414Z] ---> 933e38087671 [2020-12-19T02:49:36.414Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-19T02:49:39.095Z] ---> c727ba3268d7 [2020-12-19T02:49:39.095Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-19T02:49:39.095Z] ---> 8becc72cab1e [2020-12-19T02:49:39.095Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-19T02:49:39.095Z] ---> 0730295c1015 [2020-12-19T02:49:39.095Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-19T02:49:39.095Z] ---> bfc5cc3f853b [2020-12-19T02:49:39.095Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-19T02:49:39.404Z] ---> 714bb32a1da1 [2020-12-19T02:49:39.404Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-19T02:49:39.682Z] ---> Running in c3fc89b14040 [2020-12-19T02:49:39.966Z] Removing intermediate container c3fc89b14040 [2020-12-19T02:49:39.966Z] ---> b38f1b8dcc75 [2020-12-19T02:49:39.966Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-19T02:49:39.966Z] ---> Running in c783682af7b9 [2020-12-19T02:49:40.255Z] Removing intermediate container c783682af7b9 [2020-12-19T02:49:40.255Z] ---> 1830f5d7fd81 [2020-12-19T02:49:40.255Z] Step 22/24 : LABEL arch=amd64 [2020-12-19T02:49:40.255Z] ---> Running in 8773bf8c5135 [2020-12-19T02:49:40.528Z] Removing intermediate container 8773bf8c5135 [2020-12-19T02:49:40.528Z] ---> bc37bd2750a4 [2020-12-19T02:49:40.528Z] Step 23/24 : LABEL git_sha=2d947eead06e92078eaba158de24189ef51e4a03 [2020-12-19T02:49:40.822Z] ---> Running in a1562a882ab8 [2020-12-19T02:49:41.229Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-19T02:49:41.229Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-19T02:49:41.229Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-19T02:49:41.229Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.118s coverage: 19.4% of statements [2020-12-19T02:49:41.430Z] Removing intermediate container a1562a882ab8 [2020-12-19T02:49:41.430Z] ---> b459153742de [2020-12-19T02:49:41.430Z] Step 24/24 : LABEL version=0.0.0 [2020-12-19T02:49:41.430Z] ---> Running in d07bbc1112c5 [2020-12-19T02:49:41.746Z] Removing intermediate container d07bbc1112c5 [2020-12-19T02:49:41.746Z] ---> cad70b77e953 [2020-12-19T02:49:41.746Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-19T02:49:41.746Z] Successfully built cad70b77e953 [2020-12-19T02:49:41.746Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-19T02:49:45.553Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.220s coverage: 97.1% of statements [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.154s coverage: 9.4% of statements [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.588s coverage: 42.5% of statements [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 68.9% of statements [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 53.8% of statements [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.713s coverage: 68.9% of statements [2020-12-19T02:50:12.361Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.119s coverage: 4.3% of statements [2020-12-19T02:50:12.361Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-19T02:50:12.636Z] GO111MODULE=on go vet ./... [2020-12-19T02:50:45.028Z] gofmt -l . [2020-12-19T02:50:45.028Z] [ "`gofmt -l .`" = "" ] [2020-12-19T02:50:45.028Z] ./bin/test-attribution-txt.sh [2020-12-19T02:50:45.028Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-19T02:50:45.059Z] $ docker stop --time=1 d2a079a6cc6fe7209c15581c5af48bb8b44064e6b2b4c36292091a82753a1be8 [2020-12-19T02:50:47.257Z] $ docker rm -f d2a079a6cc6fe7209c15581c5af48bb8b44064e6b2b4c36292091a82753a1be8 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-19T02:50:48.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-19T02:50:48.412Z] Warning: overwriting stash ‘coverage-report’ [2020-12-19T02:50:49.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-19T02:50:50.160Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-19T02:50:50.556Z] + ls -al . [2020-12-19T02:50:50.556Z] total 244 [2020-12-19T02:50:50.556Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 02:50 . [2020-12-19T02:50:50.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:47 .. [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 19 02:47 .dockerignore [2020-12-19T02:50:50.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 02:47 .git [2020-12-19T02:50:50.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 02:47 .github [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 19 02:47 .gitignore [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 936 Dec 19 02:47 Dockerfile.build [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 19 02:47 Jenkinsfile [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 19 02:47 LICENSE [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 19 02:47 Makefile [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 19 02:47 README.md [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 19 02:47 RELEASE-NOTES.txt [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 02:43 VERSION [2020-12-19T02:50:50.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 02:47 bin [2020-12-19T02:50:50.556Z] -rw-r--r-- 1 jenkins jenkins 130291 Dec 19 02:50 coverage.out [2020-12-19T02:50:50.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:47 example [2020-12-19T02:50:50.556Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 19 02:50 go.mod [2020-12-19T02:50:50.556Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 19 02:50 go.sum [2020-12-19T02:50:50.556Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 19 02:47 internal [2020-12-19T02:50:50.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:47 openapi [2020-12-19T02:50:50.556Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 19 02:47 pkg [2020-12-19T02:50:50.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 02:47 snap [2020-12-19T02:50:50.556Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 19 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:50:50.971Z] + 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=2d947eead06e92078eaba158de24189ef51e4a03 --label arch=arm64 --label version=0.0.0 . [2020-12-19T02:50:51.595Z] Sending build context to Docker daemon 2.565MB [2020-12-19T02:50:51.595Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-12-19T02:50:51.595Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-19T02:50:51.595Z] ---> 69fd0657c6d6 [2020-12-19T02:50:51.595Z] Step 3/24 : ARG MAKE='make build' [2020-12-19T02:50:51.870Z] ---> Running in 782c8d6e9bc7 [2020-12-19T02:50:52.472Z] Removing intermediate container 782c8d6e9bc7 [2020-12-19T02:50:52.472Z] ---> dc8607849ad1 [2020-12-19T02:50:52.472Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-19T02:50:52.472Z] ---> Running in 1ebe98ae029b [2020-12-19T02:50:53.068Z] Removing intermediate container 1ebe98ae029b [2020-12-19T02:50:53.068Z] ---> aece58e493b7 [2020-12-19T02:50:53.068Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:50:53.068Z] ---> Running in c2ab7c580117 [2020-12-19T02:50:53.665Z] Removing intermediate container c2ab7c580117 [2020-12-19T02:50:53.665Z] ---> 5d711a69d967 [2020-12-19T02:50:53.665Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-19T02:50:53.665Z] ---> Running in a57332642f2e [2020-12-19T02:50:55.632Z] Removing intermediate container a57332642f2e [2020-12-19T02:50:55.632Z] ---> c5f073bb78a2 [2020-12-19T02:50:55.632Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-19T02:50:55.905Z] ---> Running in 0de988730677 [2020-12-19T02:50:56.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-19T02:50:57.865Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-19T02:50:59.292Z] OK: 142 MiB in 39 packages [2020-12-19T02:51:00.720Z] Removing intermediate container 0de988730677 [2020-12-19T02:51:00.720Z] ---> 30b2ef0fe832 [2020-12-19T02:51:00.720Z] Step 8/24 : COPY . . [2020-12-19T02:51:01.697Z] ---> 35ff31750fa2 [2020-12-19T02:51:01.698Z] Step 9/24 : RUN ${MAKE} [2020-12-19T02:51:01.987Z] ---> Running in 35366450d7b8 [2020-12-19T02:51:02.964Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-12-19T02:51:29.787Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-19T02:51:29.787Z] Removing intermediate container 35366450d7b8 [2020-12-19T02:51:29.787Z] ---> 3bcbc87a9b7b [2020-12-19T02:51:29.787Z] Step 10/24 : FROM scratch [2020-12-19T02:51:29.787Z] ---> [2020-12-19T02:51:29.787Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-19T02:51:29.787Z] ---> Running in c13dc86c352b [2020-12-19T02:51:30.060Z] Removing intermediate container c13dc86c352b [2020-12-19T02:51:30.060Z] ---> 5ee7a874112b [2020-12-19T02:51:30.060Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-19T02:51:30.060Z] ---> Running in 7c97998616d2 [2020-12-19T02:51:30.658Z] Removing intermediate container 7c97998616d2 [2020-12-19T02:51:30.658Z] ---> 98e5e7239077 [2020-12-19T02:51:30.658Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-19T02:51:30.658Z] ---> Running in 58a1ecef9a5f [2020-12-19T02:51:31.251Z] Removing intermediate container 58a1ecef9a5f [2020-12-19T02:51:31.251Z] ---> 31e97df8e88b [2020-12-19T02:51:31.251Z] Step 14/24 : WORKDIR / [2020-12-19T02:51:31.251Z] ---> Running in 786eb638037a [2020-12-19T02:51:31.531Z] Removing intermediate container 786eb638037a [2020-12-19T02:51:31.531Z] ---> c85bf0eae79a [2020-12-19T02:51:31.531Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-19T02:51:32.958Z] ---> 22c0ef23d9e5 [2020-12-19T02:51:32.958Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-19T02:51:33.552Z] ---> a379c7c7897f [2020-12-19T02:51:33.552Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-19T02:51:34.149Z] ---> 6b3ba5f1975d [2020-12-19T02:51:34.149Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-19T02:51:35.127Z] ---> 6b1b24cd0d8e [2020-12-19T02:51:35.127Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-19T02:51:35.722Z] ---> 306a1424886e [2020-12-19T02:51:35.722Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-19T02:51:35.722Z] ---> Running in c3460781e5ac [2020-12-19T02:51:36.316Z] Removing intermediate container c3460781e5ac [2020-12-19T02:51:36.316Z] ---> f7f639af9eee [2020-12-19T02:51:36.316Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-19T02:51:36.316Z] ---> Running in 7092dfb26c03 [2020-12-19T02:51:36.908Z] Removing intermediate container 7092dfb26c03 [2020-12-19T02:51:36.908Z] ---> f1d5f4a88357 [2020-12-19T02:51:36.908Z] Step 22/24 : LABEL arch=arm64 [2020-12-19T02:51:36.908Z] ---> Running in 625897996f4b [2020-12-19T02:51:37.504Z] Removing intermediate container 625897996f4b [2020-12-19T02:51:37.504Z] ---> 9ebed3f82f8a [2020-12-19T02:51:37.504Z] Step 23/24 : LABEL git_sha=2d947eead06e92078eaba158de24189ef51e4a03 [2020-12-19T02:51:37.504Z] ---> Running in af0f4ccaf48a [2020-12-19T02:51:37.777Z] Removing intermediate container af0f4ccaf48a [2020-12-19T02:51:37.778Z] ---> 41c51dd7e7db [2020-12-19T02:51:37.778Z] Step 24/24 : LABEL version=0.0.0 [2020-12-19T02:51:38.050Z] ---> Running in 0d888f030ee0 [2020-12-19T02:51:38.647Z] Removing intermediate container 0d888f030ee0 [2020-12-19T02:51:38.647Z] ---> 1b69e2adbe25 [2020-12-19T02:51:38.647Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-19T02:51:38.647Z] Successfully built 1b69e2adbe25 [2020-12-19T02:51:38.647Z] 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 [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 [2020-12-19T02:51:40.129Z] provisioning config files... [2020-12-19T02:51:40.141Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config5807886856605554472tmp [Pipeline] { [Pipeline] sh [2020-12-19T02:51:40.578Z] + set +x [2020-12-19T02:51:40.578Z] + bash -s -- [2020-12-19T02:51:40.578Z] + curl -s https://codecov.io/bash [2020-12-19T02:51:40.845Z] [2020-12-19T02:51:40.845Z] _____ _ [2020-12-19T02:51:40.845Z] / ____| | | [2020-12-19T02:51:40.845Z] | | ___ __| | ___ ___ _____ __ [2020-12-19T02:51:40.845Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-19T02:51:40.845Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-19T02:51:40.845Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-19T02:51:40.845Z] Bash-20201217-3d3df35 [2020-12-19T02:51:40.845Z] [2020-12-19T02:51:40.845Z] [2020-12-19T02:51:40.845Z] git version 2.24.3 found [2020-12-19T02:51:40.845Z] 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 [2020-12-19T02:51:40.845Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2020-12-19T02:51:40.845Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found [2020-12-19T02:51:40.845Z] ==> Jenkins CI detected. [2020-12-19T02:51:40.845Z] project root: . [2020-12-19T02:51:40.845Z] --> token set from env [2020-12-19T02:51:40.845Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-19T02:51:40.845Z] ==> Running gcov in . (disable via -X gcov) [2020-12-19T02:51:40.845Z] ==> Python coveragepy not found [2020-12-19T02:51:40.845Z] ==> Searching for coverage reports in: [2020-12-19T02:51:40.845Z] + . [2020-12-19T02:51:40.845Z] -> Found 1 reports [2020-12-19T02:51:40.845Z] ==> Detecting git/mercurial file structure [2020-12-19T02:51:40.845Z] ==> Reading reports [2020-12-19T02:51:40.845Z] + ./coverage.out bytes=130291 [2020-12-19T02:51:40.845Z] ==> Appending adjustments [2020-12-19T02:51:40.845Z] https://docs.codecov.io/docs/fixing-reports [2020-12-19T02:51:41.420Z] + Found adjustments [2020-12-19T02:51:41.420Z] ==> Gzipping contents [2020-12-19T02:51:41.420Z] 24K /tmp/codecov.ljeQks.gz [2020-12-19T02:51:41.420Z] ==> Uploading reports [2020-12-19T02:51:41.420Z] url: https://codecov.io [2020-12-19T02:51:41.420Z] query: branch=PR-696&commit=2d947eead06e92078eaba158de24189ef51e4a03&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-696%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=696&job=&cmd_args= [2020-12-19T02:51:41.420Z] -> Pinging Codecov [2020-12-19T02:51:41.421Z] https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-696&commit=2d947eead06e92078eaba158de24189ef51e4a03&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-696%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=696&job=&cmd_args= [2020-12-19T02:51:41.683Z] -> Uploading to [2020-12-19T02:51:41.683Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-19/7E55EF52A471D76F132DFD9A03CDDE97/2d947eead06e92078eaba158de24189ef51e4a03/ab9bacf7-6acc-4e5e-b492-25956fb10a94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201219T025141Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5eaeef482d64f5863f00f8ed692d30f8b39dd02d255d29f4a801ed20d9d19915 [2020-12-19T02:51:41.683Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-19T02:51:41.683Z] Dload Upload Total Spent Left Speed [2020-12-19T02:51:42.222Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21204 0 0 100 21204 0 48618 --:--:-- --:--:-- --:--:-- 48633 [2020-12-19T02:51:42.222Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2d947eead06e92078eaba158de24189ef51e4a03 [Pipeline] } [2020-12-19T02:51:42.232Z] 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2020-12-19T02:51:44.854Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:51:45.161Z] ---> package-listing.sh [2020-12-19T02:51:45.161Z] ++ facter osfamily [2020-12-19T02:51:45.161Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-19T02:51:45.161Z] + OS_FAMILY=redhat [2020-12-19T02:51:45.161Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-696 [2020-12-19T02:51:45.161Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-19T02:51:45.161Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-19T02:51:45.161Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-19T02:51:45.161Z] + PACKAGES=/tmp/packages_start.txt [2020-12-19T02:51:45.161Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-696 ']' [2020-12-19T02:51:45.161Z] + PACKAGES=/tmp/packages_end.txt [2020-12-19T02:51:45.161Z] + case "${OS_FAMILY}" in [2020-12-19T02:51:45.161Z] + rpm -qa [2020-12-19T02:51:45.161Z] + sort [2020-12-19T02:51:49.421Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-19T02:51:49.421Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-19T02:51:49.421Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-19T02:51:49.421Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-696 ']' [2020-12-19T02:51:49.421Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-696/archives/ [2020-12-19T02:51:49.421Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-696/archives/ [Pipeline] echo [2020-12-19T02:51:49.437Z] 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-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-19T02:51:49.729Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:51:50.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T02:51:50.039Z] [2020-12-19T02:51:50.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-19T02:51:50.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T02:51:50.434Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-19T02:51:50.434Z] df20fa9351a1: Pulling fs layer [2020-12-19T02:51:50.434Z] 36b3adc4ff6f: Pulling fs layer [2020-12-19T02:51:50.434Z] 8ad3a11d3b57: Pulling fs layer [2020-12-19T02:51:50.434Z] 46f8f816bc3b: Pulling fs layer [2020-12-19T02:51:50.434Z] 93b61091891f: Pulling fs layer [2020-12-19T02:51:50.434Z] 93b9cdb0e59b: Pulling fs layer [2020-12-19T02:51:50.435Z] 5e14af77c1be: Pulling fs layer [2020-12-19T02:51:50.435Z] 01666e4c0597: Pulling fs layer [2020-12-19T02:51:50.435Z] aa168da1d23b: Pulling fs layer [2020-12-19T02:51:50.435Z] 93b9cdb0e59b: Waiting [2020-12-19T02:51:50.435Z] 46f8f816bc3b: Waiting [2020-12-19T02:51:50.435Z] 93b61091891f: Waiting [2020-12-19T02:51:50.435Z] 5e14af77c1be: Waiting [2020-12-19T02:51:50.435Z] 01666e4c0597: Waiting [2020-12-19T02:51:50.435Z] aa168da1d23b: Waiting [2020-12-19T02:51:50.435Z] 36b3adc4ff6f: Download complete [2020-12-19T02:51:50.435Z] 46f8f816bc3b: Verifying Checksum [2020-12-19T02:51:50.435Z] 46f8f816bc3b: Download complete [2020-12-19T02:51:50.435Z] df20fa9351a1: Verifying Checksum [2020-12-19T02:51:50.435Z] df20fa9351a1: Download complete [2020-12-19T02:51:50.706Z] 93b9cdb0e59b: Verifying Checksum [2020-12-19T02:51:50.706Z] 93b9cdb0e59b: Download complete [2020-12-19T02:51:50.706Z] 5e14af77c1be: Verifying Checksum [2020-12-19T02:51:50.706Z] 5e14af77c1be: Download complete [2020-12-19T02:51:50.706Z] 93b61091891f: Verifying Checksum [2020-12-19T02:51:50.706Z] 93b61091891f: Download complete [2020-12-19T02:51:50.706Z] 01666e4c0597: Verifying Checksum [2020-12-19T02:51:50.969Z] df20fa9351a1: Pull complete [2020-12-19T02:51:51.243Z] 36b3adc4ff6f: Pull complete [2020-12-19T02:51:51.243Z] 8ad3a11d3b57: Verifying Checksum [2020-12-19T02:51:51.243Z] 8ad3a11d3b57: Download complete [2020-12-19T02:51:52.213Z] 8ad3a11d3b57: Pull complete [2020-12-19T02:51:52.213Z] 46f8f816bc3b: Pull complete [2020-12-19T02:51:53.168Z] aa168da1d23b: Download complete [2020-12-19T02:51:53.168Z] 93b61091891f: Pull complete [2020-12-19T02:51:53.168Z] 93b9cdb0e59b: Pull complete [2020-12-19T02:51:53.168Z] 5e14af77c1be: Pull complete [2020-12-19T02:51:53.432Z] 01666e4c0597: Pull complete [2020-12-19T02:52:01.621Z] aa168da1d23b: Pull complete [2020-12-19T02:52:01.621Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-19T02:52:01.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-19T02:52:01.621Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-19T02:52:01.794Z] prd-centos7-docker-4c-2g-16815 does not seem to be running inside a container [2020-12-19T02:52:01.860Z] $ 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-696/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-696 -v /w/workspace/dgexfoundry_device-sdk-go_PR-696:/w/workspace/dgexfoundry_device-sdk-go_PR-696:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-19T02:52:05.725Z] $ docker top 80f7bd83546572acec56f0ccf368bfd7668dfd2852011f7c3545a9ecafaca722 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-19T02:52:06.351Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-19T02:52:06.654Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-19T02:52:06.954Z] + ls /var/log/sa-host [2020-12-19T02:52:06.955Z] + sadf -c /var/log/sa-host/sa19 [2020-12-19T02:52:06.955Z] file_magic: OK [2020-12-19T02:52:06.955Z] HZ: Using current value: 100 [2020-12-19T02:52:06.955Z] file_header: OK [2020-12-19T02:52:06.955Z] 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 [2020-12-19T02:52:06.955Z] Statistics: [2020-12-19T02:52:06.955Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-19T02:52:06.955Z] File successfully converted to sysstat format version 12.2.1 [2020-12-19T02:52:06.955Z] + sadf -c /var/log/sa-host/sa23 [2020-12-19T02:52:06.955Z] file_magic: OK [2020-12-19T02:52:06.955Z] HZ: Using current value: 100 [2020-12-19T02:52:06.955Z] file_header: OK [2020-12-19T02:52:06.955Z] 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 [2020-12-19T02:52:06.955Z] Statistics: [2020-12-19T02:52:06.955Z] Hnuu...uuuununununu... [2020-12-19T02:52:06.955Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-19T02:52:07.219Z] provisioning config files... [2020-12-19T02:52:07.239Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config5798288802899802150tmp [Pipeline] { [Pipeline] echo [2020-12-19T02:52:07.317Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:52:07.613Z] ---> create-netrc.sh [Pipeline] } [2020-12-19T02:52:07.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-19T02:52:07.719Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:52:08.015Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-19T02:52:08.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:52:08.320Z] ---> sudo-logs.sh [2020-12-19T02:52:08.320Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-19T02:52:08.331Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:52:08.629Z] ---> job-cost.sh [2020-12-19T02:52:08.629Z] lf-activate-venv: SKIPPING [2020-12-19T02:52:08.629Z] INFO: No Stack... [2020-12-19T02:52:09.573Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-19T02:52:10.148Z] INFO: Archiving Costs [Pipeline] echo [2020-12-19T02:52:10.162Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-19T02:52:10.462Z] ---> logs-deploy.sh [2020-12-19T02:52:10.462Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-696/2 [2020-12-19T02:52:10.462Z] INFO: archiving workspace using pattern(s): [2020-12-19T02:52:12.385Z] Archives upload complete. [2020-12-19T02:52:12.646Z] INFO: archiving logs to Nexus