Pull request #699 opened 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b34f89910803fb314b9f857d4326d62ecd113d26+4525aed633a2d28dffb46d50cb0e81f75e767df3 (6f88c1a14f802628952c906f5c14894b4882772d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-699/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-699/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16584 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [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-699 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit b34f89910803fb314b9f857d4326d62ecd113d26 Merge succeeded, producing b34f89910803fb314b9f857d4326d62ecd113d26 Checking out Revision b34f89910803fb314b9f857d4326d62ecd113d26 (PR-699) > 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/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b34f89910803fb314b9f857d4326d62ecd113d26 # 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 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b34f89910803fb314b9f857d4326d62ecd113d26 # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-17T19:12:24.176Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-17T19:12:24.524Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-17T19:12:24.786Z] ========================================================= [2020-12-17T19:12:24.786Z] EdgeX Global Pipelines Version Info [2020-12-17T19:12:24.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:12:26.339Z] ------------------- [2020-12-17T19:12:26.339Z] stable info: [2020-12-17T19:12:26.339Z] ------------------- [2020-12-17T19:12:26.339Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-17T19:12:26.339Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T19:12:26.339Z] Message: update stable to v1.0.173 [2020-12-17T19:12:27.289Z] ------------------- [2020-12-17T19:12:27.289Z] experimental info: [2020-12-17T19:12:27.289Z] ------------------- [2020-12-17T19:12:27.289Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-17T19:12:27.289Z] Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [2020-12-17T19:12:27.289Z] Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-17T19:12:27.717Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-12-17T19:12:27.840Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-12-17T19:12:27.968Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-17T19:12:28.092Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-17T19:12:28.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-17T19:12:28.359Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-17T19:12:28.477Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-17T19:12:28.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-17T19:12:28.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-12-17T19:12:28.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-17T19:12:28.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-17T19:12:29.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-12-17T19:12:29.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-17T19:12:29.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-17T19:12:29.482Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-17T19:12:29.596Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T19:12:29.714Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T19:12:29.855Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-17T19:12:29.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-17T19:12:30.392Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-12-17T19:12:30.550Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-12-17T19:12:30.740Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-12-17T19:12:30.894Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-17T19:12:31.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-17T19:12:31.162Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-17T19:12:31.321Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-17T19:12:31.485Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2020-12-17T19:12:31.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-699 [Pipeline] echo [2020-12-17T19:12:31.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-699 [Pipeline] echo [2020-12-17T19:12:31.918Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-699 [Pipeline] echo [2020-12-17T19:12:32.049Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b34f89910803fb314b9f857d4326d62ecd113d26 [Pipeline] echo [2020-12-17T19:12:32.206Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b34f899 [Pipeline] echo [2020-12-17T19:12:32.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-17T19:12:32.607Z] provisioning config files... [2020-12-17T19:12:32.666Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config5989322692767062626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:12:33.102Z] ---> docker-login.sh [2020-12-17T19:12:33.102Z] nexus3.edgexfoundry.org:10001 [2020-12-17T19:12:33.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:33.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:33.630Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:33.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:33.630Z] [2020-12-17T19:12:33.630Z] Login Succeeded [2020-12-17T19:12:33.630Z] nexus3.edgexfoundry.org:10002 [2020-12-17T19:12:33.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:33.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:33.630Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:33.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:33.630Z] [2020-12-17T19:12:33.630Z] Login Succeeded [2020-12-17T19:12:33.630Z] nexus3.edgexfoundry.org:10003 [2020-12-17T19:12:33.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:33.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:33.904Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:33.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:33.904Z] [2020-12-17T19:12:33.904Z] Login Succeeded [2020-12-17T19:12:33.904Z] nexus3.edgexfoundry.org:10004 [2020-12-17T19:12:33.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:34.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:34.178Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:34.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:34.178Z] [2020-12-17T19:12:34.178Z] Login Succeeded [2020-12-17T19:12:34.178Z] docker.io [2020-12-17T19:12:34.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:12:34.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:12:34.457Z] Configure a credential helper to remove this warning. See [2020-12-17T19:12:34.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:12:34.457Z] [2020-12-17T19:12:34.457Z] Login Succeeded [2020-12-17T19:12:34.457Z] ---> docker-login.sh ends [Pipeline] } [2020-12-17T19:12:34.494Z] 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-17T19:12:35.699Z] + git log --format=format:%s -1 b34f89910803fb314b9f857d4326d62ecd113d26 [Pipeline] echo [2020-12-17T19:12:35.789Z] GIT_COMMIT: b34f89910803fb314b9f857d4326d62ecd113d26, Commit Message: ci: standardize dockerfiles [Pipeline] echo [2020-12-17T19:12:35.853Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:12:36.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T19:12:36.496Z] [2020-12-17T19:12:36.496Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:12:36.911Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T19:12:36.911Z] latest: Pulling from edgex-devops/git-semver [2020-12-17T19:12:36.911Z] 31603596830f: Pulling fs layer [2020-12-17T19:12:36.911Z] 2a8b12db71e7: Pulling fs layer [2020-12-17T19:12:36.911Z] 6ca5941a6612: Pulling fs layer [2020-12-17T19:12:36.911Z] ecc8261a40a4: Pulling fs layer [2020-12-17T19:12:36.911Z] ecc8261a40a4: Waiting [2020-12-17T19:12:36.911Z] 2a8b12db71e7: Verifying Checksum [2020-12-17T19:12:36.911Z] 2a8b12db71e7: Download complete [2020-12-17T19:12:37.916Z] 6ca5941a6612: Verifying Checksum [2020-12-17T19:12:37.916Z] 6ca5941a6612: Download complete [2020-12-17T19:12:37.916Z] 31603596830f: Verifying Checksum [2020-12-17T19:12:37.916Z] 31603596830f: Download complete [2020-12-17T19:12:37.916Z] ecc8261a40a4: Verifying Checksum [2020-12-17T19:12:37.916Z] ecc8261a40a4: Download complete [2020-12-17T19:12:38.189Z] 31603596830f: Pull complete [2020-12-17T19:12:38.455Z] 2a8b12db71e7: Pull complete [2020-12-17T19:12:39.036Z] 6ca5941a6612: Pull complete [2020-12-17T19:12:39.632Z] ecc8261a40a4: Pull complete [2020-12-17T19:12:39.632Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-17T19:12:39.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-17T19:12:39.632Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-17T19:12:39.848Z] prd-centos7-docker-4c-2g-16584 does not seem to be running inside a container [2020-12-17T19:12:39.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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-17T19:12:42.040Z] $ docker top 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-17T19:12:42.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T19:12:42.452Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T19:12:42.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T19:12:42.726Z] $ docker exec 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac ssh-agent [2020-12-17T19:12:42.949Z] SSH_AUTH_SOCK=/tmp/ssh-pzT44KMIDjoR/agent.12 [2020-12-17T19:12:42.949Z] SSH_AGENT_PID=18 [2020-12-17T19:12:42.965Z] Running ssh-add (command line suppressed) [2020-12-17T19:12:43.128Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_73753554962635155.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_73753554962635155.key) [2020-12-17T19:12:43.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T19:12:43.602Z] + git tag --points-at HEAD [Pipeline] } [2020-12-17T19:12:43.637Z] $ docker exec --env ******** --env ******** 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac ssh-agent -k [2020-12-17T19:12:43.779Z] unset SSH_AUTH_SOCK; [2020-12-17T19:12:43.779Z] unset SSH_AGENT_PID; [2020-12-17T19:12:43.779Z] echo Agent pid 18 killed; [2020-12-17T19:12:43.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-17T19:12:44.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-17T19:12:44.063Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-17T19:12:44.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-17T19:12:44.273Z] $ docker exec 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac ssh-agent [2020-12-17T19:12:44.463Z] SSH_AUTH_SOCK=/tmp/ssh-dhj2YOBzZBfY/agent.46 [2020-12-17T19:12:44.463Z] SSH_AGENT_PID=51 [2020-12-17T19:12:44.472Z] Running ssh-add (command line suppressed) [2020-12-17T19:12:44.625Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_5918289066595439957.key (/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/private_key_5918289066595439957.key) [2020-12-17T19:12:44.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-17T19:12:45.060Z] + git semver init [2020-12-17T19:12:45.060Z] # -> Open(): unable to determine branch for HEAD [2020-12-17T19:12:45.060Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.git [2020-12-17T19:12:45.060Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-699 [2020-12-17T19:12:45.060Z] # $SEMVER_REMOTE_NAME = origin [2020-12-17T19:12:45.060Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-17T19:12:45.060Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-17T19:12:45.060Z] # $SEMVER_BRANCH = PR-699 [2020-12-17T19:12:45.060Z] # $SEMVER_TEMP = /tmp/semver-791000906 [2020-12-17T19:12:45.060Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-12-17T19:12:46.018Z] # '/tmp/semver-791000906' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver' [2020-12-17T19:12:46.018Z] # -> Force: false [2020-12-17T19:12:46.018Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-699/.semver [Pipeline] } [2020-12-17T19:12:46.040Z] $ docker exec --env ******** --env ******** 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac ssh-agent -k [2020-12-17T19:12:46.169Z] unset SSH_AUTH_SOCK; [2020-12-17T19:12:46.169Z] unset SSH_AGENT_PID; [2020-12-17T19:12:46.169Z] echo Agent pid 51 killed; [2020-12-17T19:12:46.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-17T19:12:46.825Z] + git semver [Pipeline] } [2020-12-17T19:12:46.861Z] $ docker stop --time=1 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac [2020-12-17T19:12:48.490Z] $ docker rm -f 9a126d5db0bd8f14f79bba45cddfb3028dc83d86f200b6441d5157ec013956ac [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T19:12:49.043Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-17T19:12:49.645Z] Stashed 1 file(s) [Pipeline] echo [2020-12-17T19:12:49.668Z] [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-17T19:13:05.960Z] Still waiting to schedule task [2020-12-17T19:13:05.960Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-17T19:13:05.984Z] Still waiting to schedule task [2020-12-17T19:13:05.984Z] ‘prd-centos7-builder-2c-1g-16570’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16562’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16563’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16569’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16575’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-16580’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-8c-8g-16578’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16566’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16568’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16573’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16576’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-16585’ is offline [2020-12-17T19:14:31.811Z] Running on prd-centos7-docker-4c-2g-16586 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws [2020-12-17T19:14:31.919Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-17T19:14:34.283Z] using credential edgex-jenkins-ssh [2020-12-17T19:14:34.333Z] Cloning the remote Git repository [2020-12-17T19:14:34.265Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-17T19:14:34.338Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-17T19:14:34.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-17T19:14:34.401Z] > git --version # timeout=10 [2020-12-17T19:14:34.410Z] > git --version # 'git version 2.24.3' [2020-12-17T19:14:34.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:14:34.438Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:14:35.772Z] Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit b34f89910803fb314b9f857d4326d62ecd113d26 [2020-12-17T19:14:35.901Z] Merge succeeded, producing b34f89910803fb314b9f857d4326d62ecd113d26 [2020-12-17T19:14:35.902Z] Checking out Revision b34f89910803fb314b9f857d4326d62ecd113d26 (PR-699) [2020-12-17T19:14:35.282Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-17T19:14:35.288Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:14:35.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-17T19:14:35.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-17T19:14:35.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:14:35.319Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T19:14:35.784Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:14:35.792Z] > git checkout -f b34f89910803fb314b9f857d4326d62ecd113d26 # timeout=10 [2020-12-17T19:14:35.866Z] > git remote # timeout=10 [2020-12-17T19:14:35.874Z] > git config --get remote.origin.url # timeout=10 [2020-12-17T19:14:35.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:14:35.885Z] > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 [2020-12-17T19:14:35.898Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-17T19:14:35.907Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:14:35.916Z] > git checkout -f b34f89910803fb314b9f857d4326d62ecd113d26 # timeout=10 [2020-12-17T19:14:39.677Z] Commit message: "ci: standardize dockerfiles" [2020-12-17T19:14:39.713Z] > git --version # timeout=10 [2020-12-17T19:14:39.722Z] > git --version # 'git version 2.24.3' [2020-12-17T19:14:39.735Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:14:41.339Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:14:41.685Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:14:42.010Z] + sudo service docker restart [2020-12-17T19:14:42.010Z] + true [2020-12-17T19:14:42.010Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-17T19:14:44.087Z] provisioning config files... [2020-12-17T19:14:44.124Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5249344062008731237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:14:44.560Z] ---> docker-login.sh [2020-12-17T19:14:44.560Z] nexus3.edgexfoundry.org:10001 [2020-12-17T19:14:44.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:14:44.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:14:44.824Z] Configure a credential helper to remove this warning. See [2020-12-17T19:14:44.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:14:44.824Z] [2020-12-17T19:14:44.824Z] Login Succeeded [2020-12-17T19:14:44.824Z] nexus3.edgexfoundry.org:10002 [2020-12-17T19:14:45.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:14:45.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:14:45.089Z] Configure a credential helper to remove this warning. See [2020-12-17T19:14:45.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:14:45.089Z] [2020-12-17T19:14:45.089Z] Login Succeeded [2020-12-17T19:14:45.089Z] nexus3.edgexfoundry.org:10003 [2020-12-17T19:14:45.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:14:45.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:14:45.351Z] Configure a credential helper to remove this warning. See [2020-12-17T19:14:45.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:14:45.351Z] [2020-12-17T19:14:45.351Z] Login Succeeded [2020-12-17T19:14:45.351Z] nexus3.edgexfoundry.org:10004 [2020-12-17T19:14:45.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:14:45.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:14:45.613Z] Configure a credential helper to remove this warning. See [2020-12-17T19:14:45.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:14:45.613Z] [2020-12-17T19:14:45.613Z] Login Succeeded [2020-12-17T19:14:45.613Z] docker.io [2020-12-17T19:14:45.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:14:45.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:14:45.875Z] Configure a credential helper to remove this warning. See [2020-12-17T19:14:45.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:14:45.875Z] [2020-12-17T19:14:45.875Z] Login Succeeded [2020-12-17T19:14:45.875Z] ---> docker-login.sh ends [Pipeline] } [2020-12-17T19:14:45.900Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-17T19:14:46.467Z] ========================================================= [2020-12-17T19:14:46.467Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-17T19:14:46.467Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:14:46.854Z] + 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-17T19:14:47.117Z] Sending build context to Docker daemon 2.408MB [2020-12-17T19:14:47.117Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-17T19:14:47.117Z] Step 2/8 : FROM ${BASE} [2020-12-17T19:14:47.117Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-17T19:14:47.117Z] 188c0c94c7c5: Pulling fs layer [2020-12-17T19:14:47.117Z] 0ef7d3d256c8: Pulling fs layer [2020-12-17T19:14:47.117Z] de9db76c5a1d: Pulling fs layer [2020-12-17T19:14:47.117Z] bca2f99d35d6: Pulling fs layer [2020-12-17T19:14:47.117Z] 93359f2a8cfa: Pulling fs layer [2020-12-17T19:14:47.117Z] 7c6f9722023f: Pulling fs layer [2020-12-17T19:14:47.117Z] a35cf1a2eb13: Pulling fs layer [2020-12-17T19:14:47.117Z] bca2f99d35d6: Waiting [2020-12-17T19:14:47.117Z] 93359f2a8cfa: Waiting [2020-12-17T19:14:47.117Z] a35cf1a2eb13: Waiting [2020-12-17T19:14:47.117Z] 7c6f9722023f: Waiting [2020-12-17T19:14:47.117Z] de9db76c5a1d: Download complete [2020-12-17T19:14:47.117Z] 0ef7d3d256c8: Download complete [2020-12-17T19:14:47.117Z] 93359f2a8cfa: Verifying Checksum [2020-12-17T19:14:47.117Z] 93359f2a8cfa: Download complete [2020-12-17T19:14:47.117Z] 7c6f9722023f: Verifying Checksum [2020-12-17T19:14:47.117Z] 7c6f9722023f: Download complete [2020-12-17T19:14:47.117Z] 188c0c94c7c5: Verifying Checksum [2020-12-17T19:14:47.117Z] 188c0c94c7c5: Download complete [2020-12-17T19:14:47.384Z] 188c0c94c7c5: Pull complete [2020-12-17T19:14:47.654Z] 0ef7d3d256c8: Pull complete [2020-12-17T19:14:47.917Z] de9db76c5a1d: Pull complete [2020-12-17T19:14:49.313Z] a35cf1a2eb13: Verifying Checksum [2020-12-17T19:14:49.313Z] a35cf1a2eb13: Download complete [2020-12-17T19:14:49.577Z] bca2f99d35d6: Verifying Checksum [2020-12-17T19:14:49.577Z] bca2f99d35d6: Download complete [2020-12-17T19:14:54.907Z] bca2f99d35d6: Pull complete [2020-12-17T19:14:54.907Z] 93359f2a8cfa: Pull complete [2020-12-17T19:14:55.177Z] 7c6f9722023f: Pull complete [2020-12-17T19:15:05.270Z] a35cf1a2eb13: Pull complete [2020-12-17T19:15:05.270Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-17T19:15:05.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-17T19:15:05.270Z] ---> a62c8e92a672 [2020-12-17T19:15:05.270Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-17T19:15:05.270Z] ---> Running in 998c471a88f5 [2020-12-17T19:15:05.271Z] Removing intermediate container 998c471a88f5 [2020-12-17T19:15:05.271Z] ---> e6a2bcf94f1d [2020-12-17T19:15:05.271Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-17T19:15:05.271Z] ---> Running in a58657822822 [2020-12-17T19:15:05.535Z] Removing intermediate container a58657822822 [2020-12-17T19:15:05.535Z] ---> 3da1a12eb15e [2020-12-17T19:15:05.535Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-17T19:15:05.799Z] ---> Running in 005e10e6bd0d [2020-12-17T19:15:06.752Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-17T19:15:07.328Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-17T19:15:07.903Z] OK: 166 MiB in 39 packages [2020-12-17T19:15:08.480Z] Removing intermediate container 005e10e6bd0d [2020-12-17T19:15:08.480Z] ---> c4898fe6504b [2020-12-17T19:15:08.480Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-17T19:15:08.480Z] ---> Running in 0b25ba323968 [2020-12-17T19:15:08.480Z] Removing intermediate container 0b25ba323968 [2020-12-17T19:15:08.480Z] ---> 18da212588ae [2020-12-17T19:15:08.480Z] Step 7/8 : COPY . . [2020-12-17T19:15:09.874Z] ---> f7bd50932519 [2020-12-17T19:15:09.874Z] Step 8/8 : RUN go mod download [2020-12-17T19:15:09.874Z] ---> Running in bab5b8af9a9d [2020-12-17T19:15:28.080Z] Removing intermediate container bab5b8af9a9d [2020-12-17T19:15:28.080Z] ---> 6e990dbb958f [2020-12-17T19:15:28.080Z] Successfully built 6e990dbb958f [2020-12-17T19:15:28.080Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:15:28.514Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T19:15:28.514Z] . [Pipeline] withDockerContainer [2020-12-17T19:15:28.680Z] prd-centos7-docker-4c-2g-16586 does not seem to be running inside a container [2020-12-17T19:15:28.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-17T19:15:29.980Z] $ docker top 541699c43434955026285f1e240c2de675ffeee22670057ac1373ed84b16343d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:15:30.549Z] + go version [2020-12-17T19:15:30.550Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-17T19:15:30.585Z] $ docker stop --time=1 541699c43434955026285f1e240c2de675ffeee22670057ac1373ed84b16343d [2020-12-17T19:15:31.932Z] $ docker rm -f 541699c43434955026285f1e240c2de675ffeee22670057ac1373ed84b16343d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:15:32.978Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-17T19:15:32.978Z] . [Pipeline] withDockerContainer [2020-12-17T19:15:33.110Z] prd-centos7-docker-4c-2g-16586 does not seem to be running inside a container [2020-12-17T19:15:33.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-17T19:15:33.790Z] $ docker top 24ac9e8eae99f9a22d74ccfb5c6b6e6083b2abb4cad92f05a0a0498c10b3e7be -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:15:34.380Z] + make test [2020-12-17T19:15:34.380Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-17T19:15:42.618Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-17T19:15:57.660Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-17T19:15:57.660Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-17T19:15:57.660Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-17T19:15:57.660Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.085s coverage: 20.0% of statements [2020-12-17T19:15:58.606Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.453s coverage: 97.1% of statements [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.069s coverage: 9.4% of statements [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.232s coverage: 42.5% of statements [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.283s coverage: 68.9% of statements [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 53.8% of statements [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.280s coverage: 68.9% of statements [2020-12-17T19:16:31.733Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.6% of statements [2020-12-17T19:16:31.733Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-17T19:16:31.733Z] GO111MODULE=on go vet ./... [2020-12-17T19:16:38.418Z] gofmt -l . [2020-12-17T19:16:38.418Z] [ "`gofmt -l .`" = "" ] [2020-12-17T19:16:38.418Z] ./bin/test-attribution-txt.sh [2020-12-17T19:16:38.418Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-17T19:16:38.716Z] $ docker stop --time=1 24ac9e8eae99f9a22d74ccfb5c6b6e6083b2abb4cad92f05a0a0498c10b3e7be [2020-12-17T19:16:40.709Z] $ docker rm -f 24ac9e8eae99f9a22d74ccfb5c6b6e6083b2abb4cad92f05a0a0498c10b3e7be [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T19:16:41.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-17T19:16:41.818Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-17T19:16:43.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-17T19:16:43.485Z] + ls -al . [2020-12-17T19:16:43.485Z] total 208 [2020-12-17T19:16:43.485Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 17 19:16 . [2020-12-17T19:16:43.485Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 17 19:14 .. [2020-12-17T19:16:43.485Z] drwxrwxr-x. 2 jenkins jenkins 64 Dec 17 19:14 bin [2020-12-17T19:16:43.485Z] -rw-r--r--. 1 jenkins jenkins 128916 Dec 17 19:16 coverage.out [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 940 Dec 17 19:14 Dockerfile.build [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 17 19:14 .dockerignore [2020-12-17T19:16:43.485Z] drwxrwxr-x. 4 jenkins jenkins 48 Dec 17 19:14 example [2020-12-17T19:16:43.485Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 17 19:14 .git [2020-12-17T19:16:43.485Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 17 19:14 .github [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 138 Dec 17 19:14 .gitignore [2020-12-17T19:16:43.485Z] -rw-r--r--. 1 jenkins jenkins 488 Dec 17 19:16 go.mod [2020-12-17T19:16:43.485Z] -rw-r--r--. 1 jenkins jenkins 13631 Dec 17 19:16 go.sum [2020-12-17T19:16:43.485Z] drwxrwxr-x. 15 jenkins jenkins 211 Dec 17 19:14 internal [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 901 Dec 17 19:14 Jenkinsfile [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 17 19:14 LICENSE [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 1013 Dec 17 19:14 Makefile [2020-12-17T19:16:43.485Z] drwxrwxr-x. 4 jenkins jenkins 26 Dec 17 19:14 openapi [2020-12-17T19:16:43.485Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 17 19:14 pkg [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 5897 Dec 17 19:14 README.md [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 4291 Dec 17 19:14 RELEASE-NOTES.txt [2020-12-17T19:16:43.485Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 17 19:14 snap [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 17 19:12 VERSION [2020-12-17T19:16:43.485Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 17 19:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:16:43.853Z] + 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=b34f89910803fb314b9f857d4326d62ecd113d26 --label arch=amd64 --label version=0.0.0 . [2020-12-17T19:16:44.116Z] Sending build context to Docker daemon 2.537MB [2020-12-17T19:16:44.116Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2020-12-17T19:16:44.116Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-17T19:16:44.116Z] ---> 6e990dbb958f [2020-12-17T19:16:44.116Z] Step 3/24 : ARG MAKE='make build' [2020-12-17T19:16:44.380Z] ---> Running in 1541ea4e1247 [2020-12-17T19:16:44.644Z] Removing intermediate container 1541ea4e1247 [2020-12-17T19:16:44.644Z] ---> 0c6a6f1d82ab [2020-12-17T19:16:44.644Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-17T19:16:44.644Z] ---> Running in dd34ab93462d [2020-12-17T19:16:44.906Z] Removing intermediate container dd34ab93462d [2020-12-17T19:16:44.906Z] ---> f14bb5aa3724 [2020-12-17T19:16:44.906Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-17T19:16:44.906Z] ---> Running in 337a3300a809 [2020-12-17T19:16:45.169Z] Removing intermediate container 337a3300a809 [2020-12-17T19:16:45.169Z] ---> 703a354368e9 [2020-12-17T19:16:45.169Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-17T19:16:45.169Z] ---> Running in 09b86a8edfb8 [2020-12-17T19:16:46.126Z] Removing intermediate container 09b86a8edfb8 [2020-12-17T19:16:46.126Z] ---> 370cd10d47c8 [2020-12-17T19:16:46.126Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-17T19:16:46.126Z] ---> Running in 336c310f9a01 [2020-12-17T19:16:46.701Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-17T19:16:47.289Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-17T19:16:47.864Z] OK: 166 MiB in 39 packages [2020-12-17T19:16:48.442Z] Removing intermediate container 336c310f9a01 [2020-12-17T19:16:48.442Z] ---> 87217c596fa0 [2020-12-17T19:16:48.442Z] Step 8/24 : COPY . . [2020-12-17T19:16:49.402Z] ---> 915bc65c5dd9 [2020-12-17T19:16:49.402Z] Step 9/24 : RUN ${MAKE} [2020-12-17T19:16:49.402Z] ---> Running in 652d58c0fe41 [2020-12-17T19:16:49.997Z] 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-17T19:16:58.282Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-17T19:17:00.848Z] Removing intermediate container 652d58c0fe41 [2020-12-17T19:17:00.848Z] ---> 3ce6697bc913 [2020-12-17T19:17:00.848Z] Step 10/24 : FROM scratch [2020-12-17T19:17:00.848Z] ---> [2020-12-17T19:17:00.848Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-17T19:17:00.848Z] ---> Running in 1d1bcc6470ba [2020-12-17T19:17:00.848Z] Removing intermediate container 1d1bcc6470ba [2020-12-17T19:17:00.848Z] ---> c6f011194064 [2020-12-17T19:17:00.848Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-17T19:17:01.111Z] ---> Running in 1fdce2cfbbdb [2020-12-17T19:17:01.111Z] Removing intermediate container 1fdce2cfbbdb [2020-12-17T19:17:01.111Z] ---> d4ee49228cd4 [2020-12-17T19:17:01.111Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-17T19:17:01.111Z] ---> Running in f24c8372b220 [2020-12-17T19:17:01.376Z] Removing intermediate container f24c8372b220 [2020-12-17T19:17:01.376Z] ---> 316a929ccb63 [2020-12-17T19:17:01.376Z] Step 14/24 : WORKDIR / [2020-12-17T19:17:01.376Z] ---> Running in 517ebfa7a99a [2020-12-17T19:17:01.641Z] Removing intermediate container 517ebfa7a99a [2020-12-17T19:17:01.641Z] ---> ea984a2741c1 [2020-12-17T19:17:01.641Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-17T19:17:01.904Z] ---> d95d38bc3741 [2020-12-17T19:17:01.904Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-17T19:17:02.169Z] ---> d0a58c5b6e84 [2020-12-17T19:17:02.169Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-17T19:17:02.442Z] ---> 35976c993ba4 [2020-12-17T19:17:02.442Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-17T19:17:02.709Z] ---> 9e51d96fdfff [2020-12-17T19:17:02.709Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-17T19:17:02.973Z] ---> f3d6d02d6ed7 [2020-12-17T19:17:02.973Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-17T19:17:02.973Z] ---> Running in a2b8766f5d95 [2020-12-17T19:17:03.235Z] Removing intermediate container a2b8766f5d95 [2020-12-17T19:17:03.236Z] ---> 9a6bd968ea50 [2020-12-17T19:17:03.236Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-17T19:17:03.236Z] ---> Running in cb22ed589805 [2020-12-17T19:17:03.497Z] Removing intermediate container cb22ed589805 [2020-12-17T19:17:03.497Z] ---> 3e3d5956d729 [2020-12-17T19:17:03.497Z] Step 22/24 : LABEL arch=amd64 [2020-12-17T19:17:03.497Z] ---> Running in b17fdd14d8b2 [2020-12-17T19:17:03.497Z] Removing intermediate container b17fdd14d8b2 [2020-12-17T19:17:03.497Z] ---> 04931468b012 [2020-12-17T19:17:03.497Z] Step 23/24 : LABEL git_sha=b34f89910803fb314b9f857d4326d62ecd113d26 [2020-12-17T19:17:03.760Z] ---> Running in b1a787159f0b [2020-12-17T19:17:03.760Z] Removing intermediate container b1a787159f0b [2020-12-17T19:17:03.760Z] ---> 00d27dcb13cc [2020-12-17T19:17:03.760Z] Step 24/24 : LABEL version=0.0.0 [2020-12-17T19:17:04.022Z] ---> Running in fe3fa8f56f8a [2020-12-17T19:17:04.022Z] Removing intermediate container fe3fa8f56f8a [2020-12-17T19:17:04.022Z] ---> bb087e67b03d [2020-12-17T19:17:04.022Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-17T19:17:04.022Z] Successfully built bb087e67b03d [2020-12-17T19:17:04.022Z] 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-17T19:17:19.602Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-16588 in /w/workspace/dgexfoundry_device-sdk-go_PR-699 [Pipeline] { [Pipeline] ws [2020-12-17T19:17:19.693Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-12-17T19:17:24.879Z] using credential edgex-jenkins-ssh [2020-12-17T19:17:24.937Z] Cloning the remote Git repository [2020-12-17T19:17:25.004Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-12-17T19:17:25.116Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-12-17T19:17:25.190Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-17T19:17:25.191Z] > git --version # timeout=10 [2020-12-17T19:17:25.207Z] > git --version # 'git version 2.17.1' [2020-12-17T19:17:25.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:17:25.295Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:17:27.103Z] Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit b34f89910803fb314b9f857d4326d62ecd113d26 [2020-12-17T19:17:27.329Z] Merge succeeded, producing b34f89910803fb314b9f857d4326d62ecd113d26 [2020-12-17T19:17:27.330Z] Checking out Revision b34f89910803fb314b9f857d4326d62ecd113d26 (PR-699) [2020-12-17T19:17:26.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-17T19:17:26.391Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-17T19:17:26.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-12-17T19:17:26.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-12-17T19:17:26.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:17:26.459Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/699/head:refs/remotes/origin/PR-699 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-17T19:17:27.123Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:17:27.137Z] > git checkout -f b34f89910803fb314b9f857d4326d62ecd113d26 # timeout=10 [2020-12-17T19:17:27.255Z] > git remote # timeout=10 [2020-12-17T19:17:27.273Z] > git config --get remote.origin.url # timeout=10 [2020-12-17T19:17:27.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-17T19:17:27.294Z] > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 [2020-12-17T19:17:27.315Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-17T19:17:27.336Z] > git config core.sparsecheckout # timeout=10 [2020-12-17T19:17:27.345Z] > git checkout -f b34f89910803fb314b9f857d4326d62ecd113d26 # timeout=10 [2020-12-17T19:17:31.623Z] Commit message: "ci: standardize dockerfiles" [2020-12-17T19:17:31.680Z] > git --version # timeout=10 [2020-12-17T19:17:31.697Z] > git --version # 'git version 2.17.1' [2020-12-17T19:17:31.707Z] fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:17:33.448Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:17:33.868Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-17T19:17:34.233Z] + sudo service docker restart [2020-12-17T19:17:34.233Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-17T19:17:37.086Z] provisioning config files... [2020-12-17T19:17:37.122Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config899437200775383105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:17:37.579Z] ---> docker-login.sh [2020-12-17T19:17:37.579Z] nexus3.edgexfoundry.org:10001 [2020-12-17T19:17:38.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:17:38.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:17:38.839Z] Configure a credential helper to remove this warning. See [2020-12-17T19:17:38.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:17:38.839Z] [2020-12-17T19:17:38.839Z] Login Succeeded [2020-12-17T19:17:38.839Z] nexus3.edgexfoundry.org:10002 [2020-12-17T19:17:39.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:17:39.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:17:39.392Z] Configure a credential helper to remove this warning. See [2020-12-17T19:17:39.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:17:39.392Z] [2020-12-17T19:17:39.392Z] Login Succeeded [2020-12-17T19:17:39.392Z] nexus3.edgexfoundry.org:10003 [2020-12-17T19:17:39.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:17:39.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:17:39.942Z] Configure a credential helper to remove this warning. See [2020-12-17T19:17:39.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:17:39.942Z] [2020-12-17T19:17:39.942Z] Login Succeeded [2020-12-17T19:17:39.942Z] nexus3.edgexfoundry.org:10004 [2020-12-17T19:17:40.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:17:40.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:17:40.493Z] Configure a credential helper to remove this warning. See [2020-12-17T19:17:40.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:17:40.493Z] [2020-12-17T19:17:40.493Z] Login Succeeded [2020-12-17T19:17:40.493Z] docker.io [2020-12-17T19:17:40.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-17T19:17:41.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-17T19:17:41.040Z] Configure a credential helper to remove this warning. See [2020-12-17T19:17:41.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-17T19:17:41.040Z] [2020-12-17T19:17:41.040Z] Login Succeeded [2020-12-17T19:17:41.040Z] ---> docker-login.sh ends [Pipeline] } [2020-12-17T19:17:41.070Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-17T19:17:41.630Z] ========================================================= [2020-12-17T19:17:41.630Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-17T19:17:41.630Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:17:42.045Z] + 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-17T19:17:42.661Z] Sending build context to Docker daemon 2.407MB [2020-12-17T19:17:42.661Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2020-12-17T19:17:42.661Z] Step 2/8 : FROM ${BASE} [2020-12-17T19:17:42.661Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-17T19:17:42.661Z] 5f621e34cdf4: Pulling fs layer [2020-12-17T19:17:42.661Z] a4357932f1b6: Pulling fs layer [2020-12-17T19:17:42.661Z] 18c013af1878: Pulling fs layer [2020-12-17T19:17:42.661Z] 00ac8860ef70: Pulling fs layer [2020-12-17T19:17:42.661Z] 63d7cb157983: Pulling fs layer [2020-12-17T19:17:42.661Z] b116817d02f9: Pulling fs layer [2020-12-17T19:17:42.661Z] 745a02a5169b: Pulling fs layer [2020-12-17T19:17:42.661Z] 00ac8860ef70: Waiting [2020-12-17T19:17:42.661Z] 63d7cb157983: Waiting [2020-12-17T19:17:42.661Z] b116817d02f9: Waiting [2020-12-17T19:17:42.661Z] 745a02a5169b: Waiting [2020-12-17T19:17:42.661Z] 18c013af1878: Verifying Checksum [2020-12-17T19:17:42.661Z] 18c013af1878: Download complete [2020-12-17T19:17:42.661Z] a4357932f1b6: Verifying Checksum [2020-12-17T19:17:42.661Z] a4357932f1b6: Download complete [2020-12-17T19:17:42.661Z] 63d7cb157983: Verifying Checksum [2020-12-17T19:17:42.661Z] 63d7cb157983: Download complete [2020-12-17T19:17:42.661Z] b116817d02f9: Verifying Checksum [2020-12-17T19:17:42.661Z] b116817d02f9: Download complete [2020-12-17T19:17:42.934Z] 5f621e34cdf4: Download complete [2020-12-17T19:17:43.566Z] 5f621e34cdf4: Pull complete [2020-12-17T19:17:44.174Z] a4357932f1b6: Pull complete [2020-12-17T19:17:44.774Z] 18c013af1878: Pull complete [2020-12-17T19:17:45.759Z] 745a02a5169b: Verifying Checksum [2020-12-17T19:17:45.759Z] 745a02a5169b: Download complete [2020-12-17T19:17:46.364Z] 00ac8860ef70: Download complete [2020-12-17T19:17:56.570Z] 00ac8860ef70: Pull complete [2020-12-17T19:17:56.570Z] 63d7cb157983: Pull complete [2020-12-17T19:17:56.842Z] b116817d02f9: Pull complete [2020-12-17T19:18:01.140Z] 745a02a5169b: Pull complete [2020-12-17T19:18:01.140Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-17T19:18:01.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-17T19:18:01.140Z] ---> b7e6874047d6 [2020-12-17T19:18:01.140Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-17T19:18:03.773Z] ---> Running in e312cb77ec21 [2020-12-17T19:18:03.773Z] Removing intermediate container e312cb77ec21 [2020-12-17T19:18:03.773Z] ---> 8c47e7ed4543 [2020-12-17T19:18:03.773Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-17T19:18:03.773Z] ---> Running in 697f7929a767 [2020-12-17T19:18:06.421Z] Removing intermediate container 697f7929a767 [2020-12-17T19:18:06.422Z] ---> cd479721905e [2020-12-17T19:18:06.422Z] Step 5/8 : RUN apk add --no-cache make git [2020-12-17T19:18:06.422Z] ---> Running in 49268e85d7fe [2020-12-17T19:18:07.403Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-17T19:18:08.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-17T19:18:09.363Z] OK: 142 MiB in 39 packages [2020-12-17T19:18:10.347Z] Removing intermediate container 49268e85d7fe [2020-12-17T19:18:10.347Z] ---> 6d185ae1ba24 [2020-12-17T19:18:10.347Z] Step 6/8 : WORKDIR /device-sdk-go [2020-12-17T19:18:10.347Z] ---> Running in 6aa91d1d1d32 [2020-12-17T19:18:10.943Z] Removing intermediate container 6aa91d1d1d32 [2020-12-17T19:18:10.943Z] ---> c6390eeb0cde [2020-12-17T19:18:10.943Z] Step 7/8 : COPY . . [2020-12-17T19:18:12.400Z] ---> 0a3f10205bfe [2020-12-17T19:18:12.400Z] Step 8/8 : RUN go mod download [2020-12-17T19:18:12.400Z] ---> Running in 148f09210520 [2020-12-17T19:18:34.593Z] Removing intermediate container 148f09210520 [2020-12-17T19:18:34.593Z] ---> bd2a301f9cff [2020-12-17T19:18:34.593Z] Successfully built bd2a301f9cff [2020-12-17T19:18:34.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:18:34.960Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T19:18:34.960Z] . [Pipeline] withDockerContainer [2020-12-17T19:18:35.255Z] prd-ubuntu18.04-docker-arm64-4c-16g-16588 does not seem to be running inside a container [2020-12-17T19:18:35.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-17T19:18:36.787Z] $ docker top 6cfe816b7095a060fec06d3931a496fafa522f338da99ec906f7a24a5bc405ff -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:18:37.940Z] + go version [2020-12-17T19:18:37.940Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-17T19:18:37.977Z] $ docker stop --time=1 6cfe816b7095a060fec06d3931a496fafa522f338da99ec906f7a24a5bc405ff [2020-12-17T19:18:39.888Z] $ docker rm -f 6cfe816b7095a060fec06d3931a496fafa522f338da99ec906f7a24a5bc405ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:18:41.290Z] + docker inspect -f . ci-base-image-arm64 [2020-12-17T19:18:41.290Z] . [Pipeline] withDockerContainer [2020-12-17T19:18:41.567Z] prd-ubuntu18.04-docker-arm64-4c-16g-16588 does not seem to be running inside a container [2020-12-17T19:18:41.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-17T19:18:43.124Z] $ docker top 005bb2804e94d79fec9b88f635ac62178e3cf69d691513f46c16f3f98a9a2f54 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:18:44.262Z] + make test [2020-12-17T19:18:44.262Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-12-17T19:19:06.453Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-12-17T19:19:45.516Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-12-17T19:19:45.516Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-12-17T19:19:45.516Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-12-17T19:19:45.516Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.138s coverage: 20.0% of statements [2020-12-17T19:19:48.955Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.211s coverage: 97.1% of statements [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.618s coverage: 42.5% of statements [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.737s coverage: 68.9% of statements [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 53.8% of statements [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.725s coverage: 68.9% of statements [2020-12-17T19:20:21.309Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.141s coverage: 4.6% of statements [2020-12-17T19:20:21.309Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-12-17T19:20:21.309Z] GO111MODULE=on go vet ./... [2020-12-17T19:20:48.168Z] gofmt -l . [2020-12-17T19:20:48.168Z] [ "`gofmt -l .`" = "" ] [2020-12-17T19:20:48.168Z] ./bin/test-attribution-txt.sh [2020-12-17T19:20:48.168Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-17T19:20:48.816Z] $ docker stop --time=1 005bb2804e94d79fec9b88f635ac62178e3cf69d691513f46c16f3f98a9a2f54 [2020-12-17T19:20:51.206Z] $ docker rm -f 005bb2804e94d79fec9b88f635ac62178e3cf69d691513f46c16f3f98a9a2f54 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-17T19:20:52.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-17T19:20:52.450Z] Warning: overwriting stash ‘coverage-report’ [2020-12-17T19:20:53.439Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-17T19:20:54.381Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-17T19:20:54.752Z] + ls -al . [2020-12-17T19:20:54.752Z] total 244 [2020-12-17T19:20:54.752Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 17 19:20 . [2020-12-17T19:20:54.752Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:17 .. [2020-12-17T19:20:54.752Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 17 19:17 .dockerignore [2020-12-17T19:20:54.752Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 17 19:17 .git [2020-12-17T19:20:54.752Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:17 .github [2020-12-17T19:20:54.752Z] -rw-rw-r-- 1 jenkins jenkins 138 Dec 17 19:17 .gitignore [2020-12-17T19:20:54.752Z] -rw-rw-r-- 1 jenkins jenkins 940 Dec 17 19:17 Dockerfile.build [2020-12-17T19:20:54.752Z] -rw-rw-r-- 1 jenkins jenkins 901 Dec 17 19:17 Jenkinsfile [2020-12-17T19:20:54.753Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 17 19:17 LICENSE [2020-12-17T19:20:54.753Z] -rw-rw-r-- 1 jenkins jenkins 1013 Dec 17 19:17 Makefile [2020-12-17T19:20:54.753Z] -rw-rw-r-- 1 jenkins jenkins 5897 Dec 17 19:17 README.md [2020-12-17T19:20:54.753Z] -rw-rw-r-- 1 jenkins jenkins 4291 Dec 17 19:17 RELEASE-NOTES.txt [2020-12-17T19:20:54.753Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 17 19:12 VERSION [2020-12-17T19:20:54.753Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 17 19:17 bin [2020-12-17T19:20:54.753Z] -rw-r--r-- 1 jenkins jenkins 128916 Dec 17 19:20 coverage.out [2020-12-17T19:20:54.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:17 example [2020-12-17T19:20:54.753Z] -rw-r--r-- 1 jenkins jenkins 488 Dec 17 19:20 go.mod [2020-12-17T19:20:54.753Z] -rw-r--r-- 1 jenkins jenkins 13631 Dec 17 19:20 go.sum [2020-12-17T19:20:54.753Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 17 19:17 internal [2020-12-17T19:20:54.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:17 openapi [2020-12-17T19:20:54.753Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 17 19:17 pkg [2020-12-17T19:20:54.753Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 17 19:17 snap [2020-12-17T19:20:54.753Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 17 19:17 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:20:55.145Z] + 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=b34f89910803fb314b9f857d4326d62ecd113d26 --label arch=arm64 --label version=0.0.0 . [2020-12-17T19:20:55.744Z] Sending build context to Docker daemon 2.536MB [2020-12-17T19:20:55.744Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2020-12-17T19:20:55.744Z] Step 2/24 : FROM ${BASE} AS builder [2020-12-17T19:20:55.744Z] ---> bd2a301f9cff [2020-12-17T19:20:55.744Z] Step 3/24 : ARG MAKE='make build' [2020-12-17T19:20:56.015Z] ---> Running in af6138386a00 [2020-12-17T19:20:56.285Z] Removing intermediate container af6138386a00 [2020-12-17T19:20:56.285Z] ---> 6d2ff2643a6e [2020-12-17T19:20:56.285Z] Step 4/24 : WORKDIR /device-sdk-go [2020-12-17T19:20:56.558Z] ---> Running in ebfa0e425040 [2020-12-17T19:20:56.834Z] Removing intermediate container ebfa0e425040 [2020-12-17T19:20:56.834Z] ---> 8a8677488eef [2020-12-17T19:20:56.834Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-17T19:20:57.107Z] ---> Running in 2800fbf395a3 [2020-12-17T19:20:57.381Z] Removing intermediate container 2800fbf395a3 [2020-12-17T19:20:57.381Z] ---> ac9efb2b3aa8 [2020-12-17T19:20:57.381Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-17T19:20:57.653Z] ---> Running in d1008dc5126e [2020-12-17T19:20:59.629Z] Removing intermediate container d1008dc5126e [2020-12-17T19:20:59.629Z] ---> 01bada25f9d7 [2020-12-17T19:20:59.629Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-12-17T19:20:59.903Z] ---> Running in 65fded785b5d [2020-12-17T19:21:00.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-17T19:21:01.485Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-17T19:21:02.080Z] OK: 142 MiB in 39 packages [2020-12-17T19:21:03.512Z] Removing intermediate container 65fded785b5d [2020-12-17T19:21:03.512Z] ---> 7537ff82e0b3 [2020-12-17T19:21:03.512Z] Step 8/24 : COPY . . [2020-12-17T19:21:04.491Z] ---> 661a0ec01de8 [2020-12-17T19:21:04.491Z] Step 9/24 : RUN ${MAKE} [2020-12-17T19:21:04.763Z] ---> Running in 124c6ccb889b [2020-12-17T19:21:05.741Z] 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-17T19:21:32.553Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-12-17T19:21:32.553Z] Removing intermediate container 124c6ccb889b [2020-12-17T19:21:32.553Z] ---> 12e0fdf3939e [2020-12-17T19:21:32.553Z] Step 10/24 : FROM scratch [2020-12-17T19:21:32.553Z] ---> [2020-12-17T19:21:32.553Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-12-17T19:21:32.553Z] ---> Running in 777230b819ce [2020-12-17T19:21:32.553Z] Removing intermediate container 777230b819ce [2020-12-17T19:21:32.553Z] ---> 768ff7c0a59c [2020-12-17T19:21:32.553Z] Step 12/24 : ENV APP_PORT=49990 [2020-12-17T19:21:32.553Z] ---> Running in 568448b71130 [2020-12-17T19:21:32.830Z] Removing intermediate container 568448b71130 [2020-12-17T19:21:32.830Z] ---> de928494cb0a [2020-12-17T19:21:32.830Z] Step 13/24 : EXPOSE $APP_PORT [2020-12-17T19:21:33.103Z] ---> Running in 4c3717641f0a [2020-12-17T19:21:33.374Z] Removing intermediate container 4c3717641f0a [2020-12-17T19:21:33.374Z] ---> 82c5b79d1e27 [2020-12-17T19:21:33.374Z] Step 14/24 : WORKDIR / [2020-12-17T19:21:33.646Z] ---> Running in 24620b4742b9 [2020-12-17T19:21:33.919Z] Removing intermediate container 24620b4742b9 [2020-12-17T19:21:33.919Z] ---> 6b203d2ae01c [2020-12-17T19:21:33.919Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-12-17T19:21:34.897Z] ---> 427633fae375 [2020-12-17T19:21:34.897Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-12-17T19:21:35.875Z] ---> 2545f624a191 [2020-12-17T19:21:35.875Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-12-17T19:21:36.469Z] ---> 15e66cb64ece [2020-12-17T19:21:36.469Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-12-17T19:21:37.065Z] ---> 320119d58add [2020-12-17T19:21:37.065Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-12-17T19:21:37.666Z] ---> bce9e00598a0 [2020-12-17T19:21:37.666Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-12-17T19:21:37.941Z] ---> Running in 3dc04e2e9414 [2020-12-17T19:21:38.212Z] Removing intermediate container 3dc04e2e9414 [2020-12-17T19:21:38.212Z] ---> a9fb10b1156c [2020-12-17T19:21:38.212Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-17T19:21:38.484Z] ---> Running in c36e2ff6a863 [2020-12-17T19:21:38.757Z] Removing intermediate container c36e2ff6a863 [2020-12-17T19:21:38.757Z] ---> babc2d6945e5 [2020-12-17T19:21:38.757Z] Step 22/24 : LABEL arch=arm64 [2020-12-17T19:21:39.030Z] ---> Running in 5a042e7c19c3 [2020-12-17T19:21:39.625Z] Removing intermediate container 5a042e7c19c3 [2020-12-17T19:21:39.625Z] ---> e465c0dcb840 [2020-12-17T19:21:39.625Z] Step 23/24 : LABEL git_sha=b34f89910803fb314b9f857d4326d62ecd113d26 [2020-12-17T19:21:39.625Z] ---> Running in 7d4580efb4ce [2020-12-17T19:21:39.896Z] Removing intermediate container 7d4580efb4ce [2020-12-17T19:21:39.896Z] ---> b41c55609787 [2020-12-17T19:21:39.896Z] Step 24/24 : LABEL version=0.0.0 [2020-12-17T19:21:40.167Z] ---> Running in a02c4228183a [2020-12-17T19:21:40.440Z] Removing intermediate container a02c4228183a [2020-12-17T19:21:40.440Z] ---> 8913bc6a28b9 [2020-12-17T19:21:40.440Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-17T19:21:40.712Z] Successfully built 8913bc6a28b9 [2020-12-17T19:21:40.712Z] 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-17T19:21:43.009Z] provisioning config files... [2020-12-17T19:21:43.021Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config9125485156310984894tmp [Pipeline] { [Pipeline] sh [2020-12-17T19:21:43.472Z] + set +x [2020-12-17T19:21:43.472Z] + curl -s https://codecov.io/bash [2020-12-17T19:21:43.472Z] + bash -s -- [2020-12-17T19:21:43.735Z] [2020-12-17T19:21:43.735Z] _____ _ [2020-12-17T19:21:43.735Z] / ____| | | [2020-12-17T19:21:43.735Z] | | ___ __| | ___ ___ _____ __ [2020-12-17T19:21:43.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-17T19:21:43.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-17T19:21:43.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-17T19:21:43.735Z] Bash-20201130-cc6d3fe [2020-12-17T19:21:43.735Z] [2020-12-17T19:21:43.735Z] [2020-12-17T19:21:43.735Z] ==> Jenkins CI detected. [2020-12-17T19:21:43.735Z] project root: . [2020-12-17T19:21:43.735Z] --> token set from env [2020-12-17T19:21:43.735Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-17T19:21:43.735Z] ==> Running gcov in . (disable via -X gcov) [2020-12-17T19:21:43.735Z] ==> Python coveragepy not found [2020-12-17T19:21:43.735Z] ==> Searching for coverage reports in: [2020-12-17T19:21:43.735Z] + . [2020-12-17T19:21:43.735Z] -> Found 1 reports [2020-12-17T19:21:43.735Z] ==> Detecting git/mercurial file structure [2020-12-17T19:21:43.735Z] ==> Reading reports [2020-12-17T19:21:43.735Z] + ./coverage.out bytes=128916 [2020-12-17T19:21:43.735Z] ==> Appending adjustments [2020-12-17T19:21:43.735Z] https://docs.codecov.io/docs/fixing-reports [2020-12-17T19:21:44.317Z] + Found adjustments [2020-12-17T19:21:44.317Z] ==> Gzipping contents [2020-12-17T19:21:44.317Z] 24K /tmp/codecov.9dBCLS.gz [2020-12-17T19:21:44.317Z] ==> Uploading reports [2020-12-17T19:21:44.317Z] url: https://codecov.io [2020-12-17T19:21:44.317Z] query: branch=PR-699&commit=b34f89910803fb314b9f857d4326d62ecd113d26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= [2020-12-17T19:21:44.317Z] -> Pinging Codecov [2020-12-17T19:21:44.317Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-699&commit=b34f89910803fb314b9f857d4326d62ecd113d26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-699%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=699&job=&cmd_args= [2020-12-17T19:21:44.892Z] -> Uploading to [2020-12-17T19:21:44.892Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-17/7E55EF52A471D76F132DFD9A03CDDE97/b34f89910803fb314b9f857d4326d62ecd113d26/c192314d-697e-4893-b3dc-7064cedd1a42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201217T192144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b17aa5ddc31b2c81208af0f539910a81b671d7a1d9cec54222b9f9882a56024 [2020-12-17T19:21:44.892Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-17T19:21:44.892Z] Dload Upload Total Spent Left Speed [2020-12-17T19:21:45.477Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21039 0 0 100 21039 0 43729 --:--:-- --:--:-- --:--:-- 43831 [2020-12-17T19:21:45.477Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b34f89910803fb314b9f857d4326d62ecd113d26 [Pipeline] } [2020-12-17T19:21:45.538Z] 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-17T19:21:49.029Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:21:49.657Z] ---> package-listing.sh [2020-12-17T19:21:49.657Z] ++ facter osfamily [2020-12-17T19:21:49.657Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-17T19:21:49.657Z] + OS_FAMILY=redhat [2020-12-17T19:21:49.657Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-699 [2020-12-17T19:21:49.657Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-17T19:21:49.657Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-17T19:21:49.657Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-17T19:21:49.657Z] + PACKAGES=/tmp/packages_start.txt [2020-12-17T19:21:49.657Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' [2020-12-17T19:21:49.657Z] + PACKAGES=/tmp/packages_end.txt [2020-12-17T19:21:49.657Z] + case "${OS_FAMILY}" in [2020-12-17T19:21:49.657Z] + rpm -qa [2020-12-17T19:21:49.657Z] + sort [2020-12-17T19:21:54.977Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-17T19:21:54.977Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-17T19:21:54.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-17T19:21:54.977Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-699 ']' [2020-12-17T19:21:54.977Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ [2020-12-17T19:21:54.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-699/archives/ [Pipeline] echo [2020-12-17T19:21:55.019Z] 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-699/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-17T19:21:55.331Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:21:55.680Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T19:21:55.681Z] [2020-12-17T19:21:55.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-17T19:21:56.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T19:21:56.069Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-17T19:21:56.069Z] df20fa9351a1: Pulling fs layer [2020-12-17T19:21:56.069Z] 36b3adc4ff6f: Pulling fs layer [2020-12-17T19:21:56.069Z] 8ad3a11d3b57: Pulling fs layer [2020-12-17T19:21:56.069Z] 46f8f816bc3b: Pulling fs layer [2020-12-17T19:21:56.069Z] 93b61091891f: Pulling fs layer [2020-12-17T19:21:56.069Z] 93b9cdb0e59b: Pulling fs layer [2020-12-17T19:21:56.069Z] 5e14af77c1be: Pulling fs layer [2020-12-17T19:21:56.069Z] 01666e4c0597: Pulling fs layer [2020-12-17T19:21:56.069Z] aa168da1d23b: Pulling fs layer [2020-12-17T19:21:56.069Z] 93b9cdb0e59b: Waiting [2020-12-17T19:21:56.069Z] 5e14af77c1be: Waiting [2020-12-17T19:21:56.069Z] 01666e4c0597: Waiting [2020-12-17T19:21:56.069Z] aa168da1d23b: Waiting [2020-12-17T19:21:56.069Z] 46f8f816bc3b: Waiting [2020-12-17T19:21:56.069Z] 93b61091891f: Waiting [2020-12-17T19:21:56.069Z] 36b3adc4ff6f: Verifying Checksum [2020-12-17T19:21:56.069Z] 36b3adc4ff6f: Download complete [2020-12-17T19:21:56.069Z] 46f8f816bc3b: Verifying Checksum [2020-12-17T19:21:56.069Z] 46f8f816bc3b: Download complete [2020-12-17T19:21:56.332Z] df20fa9351a1: Verifying Checksum [2020-12-17T19:21:56.332Z] df20fa9351a1: Download complete [2020-12-17T19:21:56.332Z] 93b9cdb0e59b: Verifying Checksum [2020-12-17T19:21:56.332Z] 93b9cdb0e59b: Download complete [2020-12-17T19:21:56.332Z] 5e14af77c1be: Verifying Checksum [2020-12-17T19:21:56.332Z] 5e14af77c1be: Download complete [2020-12-17T19:21:56.332Z] 01666e4c0597: Verifying Checksum [2020-12-17T19:21:56.332Z] 01666e4c0597: Download complete [2020-12-17T19:21:56.332Z] 93b61091891f: Verifying Checksum [2020-12-17T19:21:56.332Z] 93b61091891f: Download complete [2020-12-17T19:21:56.332Z] 8ad3a11d3b57: Verifying Checksum [2020-12-17T19:21:56.332Z] 8ad3a11d3b57: Download complete [2020-12-17T19:21:56.602Z] df20fa9351a1: Pull complete [2020-12-17T19:21:56.875Z] 36b3adc4ff6f: Pull complete [2020-12-17T19:21:57.457Z] 8ad3a11d3b57: Pull complete [2020-12-17T19:21:57.720Z] 46f8f816bc3b: Pull complete [2020-12-17T19:21:57.988Z] 93b61091891f: Pull complete [2020-12-17T19:21:58.257Z] 93b9cdb0e59b: Pull complete [2020-12-17T19:21:58.257Z] 5e14af77c1be: Pull complete [2020-12-17T19:21:58.523Z] 01666e4c0597: Pull complete [2020-12-17T19:21:59.492Z] aa168da1d23b: Download complete [2020-12-17T19:22:07.706Z] aa168da1d23b: Pull complete [2020-12-17T19:22:07.706Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-17T19:22:07.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-17T19:22:07.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-17T19:22:07.950Z] prd-centos7-docker-4c-2g-16584 does not seem to be running inside a container [2020-12-17T19:22:08.003Z] $ 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-699/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-699 -v /w/workspace/dgexfoundry_device-sdk-go_PR-699:/w/workspace/dgexfoundry_device-sdk-go_PR-699:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-699@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-17T19:22:11.551Z] $ docker top 8c413bbca4c14f5fabf4ab4213bd0da0d594eeca783c1dab89e8d1a6161a68fc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-17T19:22:12.103Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-17T19:22:12.426Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-17T19:22:12.750Z] + ls /var/log/sa-host [2020-12-17T19:22:12.750Z] + sadf -c /var/log/sa-host/sa17 [2020-12-17T19:22:12.750Z] file_magic: OK [2020-12-17T19:22:12.750Z] HZ: Using current value: 100 [2020-12-17T19:22:12.750Z] file_header: OK [2020-12-17T19:22:12.750Z] 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-17T19:22:12.750Z] Statistics: [2020-12-17T19:22:12.750Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-17T19:22:12.750Z] File successfully converted to sysstat format version 12.2.1 [2020-12-17T19:22:12.750Z] + sadf -c /var/log/sa-host/sa23 [2020-12-17T19:22:12.750Z] file_magic: OK [2020-12-17T19:22:12.750Z] HZ: Using current value: 100 [2020-12-17T19:22:12.750Z] file_header: OK [2020-12-17T19:22:12.750Z] 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-17T19:22:12.750Z] Statistics: [2020-12-17T19:22:12.750Z] Hnuu...uuuununununu... [2020-12-17T19:22:12.750Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-17T19:22:13.029Z] provisioning config files... [2020-12-17T19:22:13.049Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-699@tmp/config8176795351291481904tmp [Pipeline] { [Pipeline] echo [2020-12-17T19:22:13.171Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:22:13.506Z] ---> create-netrc.sh [Pipeline] } [2020-12-17T19:22:13.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-17T19:22:13.686Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:22:14.038Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-17T19:22:14.074Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:22:14.412Z] ---> sudo-logs.sh [2020-12-17T19:22:14.412Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-17T19:22:14.445Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:22:14.776Z] ---> job-cost.sh [2020-12-17T19:22:14.776Z] lf-activate-venv: SKIPPING [2020-12-17T19:22:14.776Z] INFO: No Stack... [2020-12-17T19:22:15.721Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-17T19:22:16.294Z] INFO: Archiving Costs [Pipeline] echo [2020-12-17T19:22:16.327Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-17T19:22:16.664Z] ---> logs-deploy.sh [2020-12-17T19:22:16.665Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-699/1 [2020-12-17T19:22:16.665Z] INFO: archiving workspace using pattern(s): [2020-12-17T19:22:18.587Z] Archives upload complete. [2020-12-17T19:22:18.587Z] INFO: archiving logs to Nexus