Pull request #998 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 696a5e317d56c84bbe6f088dbfeead2f4669ae0b+b8bde01b3040ded824082163a6ece586529576f1 (e00b3e547dccea75de46c0c388bf65537bf30b4d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2960209961756585941.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5119091610050329299.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-998/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-998/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6582061788946877590.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-998/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5130475211038648995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6149933016481862367.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-998/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-998/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5604339386552933045.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-41 in /w/workspace/dgexfoundry_device-sdk-go_PR-998 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-998 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/jenkins-gitclient-ssh7264972331699938408.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b8bde01b3040ded824082163a6ece586529576f1 into PR head commit 696a5e317d56c84bbe6f088dbfeead2f4669ae0b Merge succeeded, producing 696a5e317d56c84bbe6f088dbfeead2f4669ae0b Checking out Revision 696a5e317d56c84bbe6f088dbfeead2f4669ae0b (PR-998) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/jenkins-gitclient-ssh1696727309515114432.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/998/head:refs/remotes/origin/PR-998 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/jenkins-gitclient-ssh4504258881423394425.key > git merge b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-13T04:07:07.797Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-13T04:07:08.328Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-13T04:07:08.445Z] ========================================================= [2021-07-13T04:07:08.445Z] EdgeX Global Pipelines Version Info [2021-07-13T04:07:08.445Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:07:09.962Z] ------------------- [2021-07-13T04:07:09.962Z] stable info: [2021-07-13T04:07:09.962Z] ------------------- [2021-07-13T04:07:09.962Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-13T04:07:09.962Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-13T04:07:09.962Z] Message: update stable to v1.0.196 [2021-07-13T04:07:10.539Z] ------------------- [2021-07-13T04:07:10.539Z] experimental info: [2021-07-13T04:07:10.539Z] ------------------- [2021-07-13T04:07:10.539Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-13T04:07:10.539Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-13T04:07:10.539Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-13T04:07:10.794Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-13T04:07:10.849Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-13T04:07:10.907Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-13T04:07:10.974Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-13T04:07:11.026Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-13T04:07:11.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-13T04:07:11.151Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-13T04:07:11.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-13T04:07:11.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-13T04:07:11.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-13T04:07:11.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-13T04:07:11.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-13T04:07:11.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-13T04:07:11.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-13T04:07:11.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-13T04:07:11.672Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:11.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:11.777Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-13T04:07:11.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-13T04:07:11.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-13T04:07:11.945Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-13T04:07:12.003Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-13T04:07:12.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-13T04:07:12.136Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-13T04:07:12.203Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-13T04:07:12.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-13T04:07:12.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-998 [Pipeline] echo [2021-07-13T04:07:12.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-998 [Pipeline] echo [2021-07-13T04:07:12.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-998 [Pipeline] echo [2021-07-13T04:07:12.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [Pipeline] echo [2021-07-13T04:07:12.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 696a5e3 [Pipeline] echo [2021-07-13T04:07:12.625Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T04:07:12.829Z] provisioning config files... [2021-07-13T04:07:12.850Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/config7923578106486484979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:07:13.236Z] ---> docker-login.sh [2021-07-13T04:07:13.236Z] nexus3.edgexfoundry.org:10001 [2021-07-13T04:07:13.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:07:13.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:07:13.771Z] Configure a credential helper to remove this warning. See [2021-07-13T04:07:13.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:07:13.771Z] [2021-07-13T04:07:13.771Z] Login Succeeded [2021-07-13T04:07:13.771Z] nexus3.edgexfoundry.org:10002 [2021-07-13T04:07:13.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:07:13.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:07:13.771Z] Configure a credential helper to remove this warning. See [2021-07-13T04:07:13.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:07:13.771Z] [2021-07-13T04:07:13.771Z] Login Succeeded [2021-07-13T04:07:13.771Z] nexus3.edgexfoundry.org:10003 [2021-07-13T04:07:14.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:07:14.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:07:14.037Z] Configure a credential helper to remove this warning. See [2021-07-13T04:07:14.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:07:14.037Z] [2021-07-13T04:07:14.037Z] Login Succeeded [2021-07-13T04:07:14.037Z] nexus3.edgexfoundry.org:10004 [2021-07-13T04:07:14.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:07:14.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:07:14.302Z] Configure a credential helper to remove this warning. See [2021-07-13T04:07:14.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:07:14.302Z] [2021-07-13T04:07:14.302Z] Login Succeeded [2021-07-13T04:07:14.302Z] docker.io [2021-07-13T04:07:14.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:07:14.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:07:14.566Z] Configure a credential helper to remove this warning. See [2021-07-13T04:07:14.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:07:14.566Z] [2021-07-13T04:07:14.566Z] Login Succeeded [2021-07-13T04:07:14.566Z] ---> docker-login.sh ends [Pipeline] } [2021-07-13T04:07:14.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:07:15.465Z] + git log --format=format:%s -1 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [Pipeline] echo [2021-07-13T04:07:15.533Z] GIT_COMMIT: 696a5e317d56c84bbe6f088dbfeead2f4669ae0b, Commit Message: build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0 [Pipeline] echo [2021-07-13T04:07:15.572Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:07:17.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T04:07:17.473Z] [2021-07-13T04:07:17.473Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:07:17.831Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T04:07:17.831Z] latest: Pulling from edgex-devops/git-semver [2021-07-13T04:07:17.831Z] 31603596830f: Pulling fs layer [2021-07-13T04:07:17.831Z] b6dc333f4379: Pulling fs layer [2021-07-13T04:07:17.831Z] 3d9ef1400e77: Pulling fs layer [2021-07-13T04:07:17.831Z] fd332fbdc1db: Pulling fs layer [2021-07-13T04:07:17.831Z] fd332fbdc1db: Waiting [2021-07-13T04:07:17.831Z] b6dc333f4379: Verifying Checksum [2021-07-13T04:07:17.831Z] b6dc333f4379: Download complete [2021-07-13T04:07:18.096Z] 31603596830f: Verifying Checksum [2021-07-13T04:07:18.096Z] 31603596830f: Download complete [2021-07-13T04:07:18.096Z] 3d9ef1400e77: Verifying Checksum [2021-07-13T04:07:18.096Z] 3d9ef1400e77: Download complete [2021-07-13T04:07:18.096Z] fd332fbdc1db: Verifying Checksum [2021-07-13T04:07:18.096Z] fd332fbdc1db: Download complete [2021-07-13T04:07:18.358Z] 31603596830f: Pull complete [2021-07-13T04:07:18.358Z] b6dc333f4379: Pull complete [2021-07-13T04:07:18.949Z] 3d9ef1400e77: Pull complete [2021-07-13T04:07:19.221Z] fd332fbdc1db: Pull complete [2021-07-13T04:07:19.221Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-13T04:07:19.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-13T04:07:19.221Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-13T04:07:19.339Z] prd-centos7-docker-4c-2g-41 does not seem to be running inside a container [2021-07-13T04:07:19.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-998 -v /w/workspace/dgexfoundry_device-sdk-go_PR-998:/w/workspace/dgexfoundry_device-sdk-go_PR-998:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-13T04:07:20.740Z] $ docker top efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-13T04:07:20.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T04:07:20.972Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T04:07:21.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T04:07:21.106Z] $ docker exec efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e ssh-agent [2021-07-13T04:07:21.239Z] SSH_AUTH_SOCK=/tmp/ssh-cL89GtPwE9iD/agent.14 [2021-07-13T04:07:21.239Z] SSH_AGENT_PID=20 [2021-07-13T04:07:21.248Z] Running ssh-add (command line suppressed) [2021-07-13T04:07:21.354Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_5718684040560069006.key (/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_5718684040560069006.key) [2021-07-13T04:07:21.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T04:07:21.759Z] + git tag --points-at HEAD [Pipeline] } [2021-07-13T04:07:21.774Z] $ docker exec --env ******** --env ******** efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e ssh-agent -k [2021-07-13T04:07:21.883Z] unset SSH_AUTH_SOCK; [2021-07-13T04:07:21.883Z] unset SSH_AGENT_PID; [2021-07-13T04:07:21.883Z] echo Agent pid 20 killed; [2021-07-13T04:07:21.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-13T04:07:21.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-13T04:07:21.991Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-13T04:07:22.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-13T04:07:22.111Z] $ docker exec efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e ssh-agent [2021-07-13T04:07:22.245Z] SSH_AUTH_SOCK=/tmp/ssh-ZS0XxfXIgpLu/agent.54 [2021-07-13T04:07:22.245Z] SSH_AGENT_PID=60 [2021-07-13T04:07:22.251Z] Running ssh-add (command line suppressed) [2021-07-13T04:07:22.353Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_7612151776423429468.key (/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/private_key_7612151776423429468.key) [2021-07-13T04:07:22.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-13T04:07:22.731Z] + git semver init [2021-07-13T04:07:22.731Z] # -> Open(): unable to determine branch for HEAD [2021-07-13T04:07:22.731Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-998/.git [2021-07-13T04:07:22.731Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-998 [2021-07-13T04:07:22.731Z] # $SEMVER_REMOTE_NAME = origin [2021-07-13T04:07:22.731Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-13T04:07:22.731Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-13T04:07:22.731Z] # $SEMVER_BRANCH = PR-998 [2021-07-13T04:07:22.731Z] # $SEMVER_TEMP = /tmp/semver-031699023 [2021-07-13T04:07:22.731Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-13T04:07:23.307Z] # '/tmp/semver-031699023' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-998/.semver' [2021-07-13T04:07:23.307Z] # -> Force: false [2021-07-13T04:07:23.307Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-998/.semver [Pipeline] } [2021-07-13T04:07:23.323Z] $ docker exec --env ******** --env ******** efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e ssh-agent -k [2021-07-13T04:07:23.436Z] unset SSH_AUTH_SOCK; [2021-07-13T04:07:23.437Z] unset SSH_AGENT_PID; [2021-07-13T04:07:23.437Z] echo Agent pid 60 killed; [2021-07-13T04:07:23.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-13T04:07:23.908Z] + git semver [Pipeline] } [2021-07-13T04:07:23.933Z] $ docker stop --time=1 efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e [2021-07-13T04:07:25.212Z] $ docker rm -f efb4465646f2e06c04942df70c7e12e7c35ea500c6cfcf5b108b1f8b8e6d736e [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T04:07:25.653Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-13T04:07:26.029Z] Stashed 1 file(s) [Pipeline] echo [2021-07-13T04:07:26.055Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-13T04:07:41.642Z] Still waiting to schedule task [2021-07-13T04:07:41.643Z] ‘prd-centos7-builder-2c-1g-40’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-13T04:07:41.643Z] ‘prd-centos7-docker-4c-2g-42’ is offline [2021-07-13T04:07:41.686Z] Still waiting to schedule task [2021-07-13T04:07:41.687Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-13T04:09:38.817Z] Running on prd-centos7-docker-4c-2g-44 in /w/workspace/dgexfoundry_device-sdk-go_PR-998 [Pipeline] { [Pipeline] ws [2021-07-13T04:09:38.892Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-13T04:09:39.050Z] Selected Git installation does not exist. Using Default [2021-07-13T04:09:39.050Z] The recommended git tool is: NONE [2021-07-13T04:09:41.394Z] using credential edgex-jenkins-ssh [2021-07-13T04:09:41.415Z] Cloning the remote Git repository [2021-07-13T04:09:41.446Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-13T04:09:41.516Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-07-13T04:09:41.542Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-13T04:09:41.542Z] > git --version # timeout=10 [2021-07-13T04:09:41.553Z] > git --version # 'git version 2.24.4' [2021-07-13T04:09:41.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:09:41.578Z] [INFO] Currently running in a labeled security context [2021-07-13T04:09:41.579Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T04:09:41.579Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7527528135576051436.key [2021-07-13T04:09:41.594Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:09:42.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-13T04:09:42.273Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:09:42.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-13T04:09:42.300Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-13T04:09:42.300Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:09:42.301Z] [INFO] Currently running in a labeled security context [2021-07-13T04:09:42.301Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T04:09:42.302Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2886681227519994687.key [2021-07-13T04:09:42.311Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/998/head:refs/remotes/origin/PR-998 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-13T04:09:42.714Z] Merging remotes/origin/main commit b8bde01b3040ded824082163a6ece586529576f1 into PR head commit 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-07-13T04:09:42.808Z] Merge succeeded, producing 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-07-13T04:09:42.809Z] Checking out Revision 696a5e317d56c84bbe6f088dbfeead2f4669ae0b (PR-998) [2021-07-13T04:09:42.720Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:09:42.729Z] > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 [2021-07-13T04:09:42.763Z] > git remote # timeout=10 [2021-07-13T04:09:42.771Z] > git config --get remote.origin.url # timeout=10 [2021-07-13T04:09:42.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:09:42.781Z] [INFO] Currently running in a labeled security context [2021-07-13T04:09:42.781Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-13T04:09:42.781Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8438147371008358018.key [2021-07-13T04:09:42.787Z] > git merge b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 [2021-07-13T04:09:42.795Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-13T04:09:42.809Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:09:42.818Z] > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 [2021-07-13T04:09:46.457Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [2021-07-13T04:09:46.478Z] > git --version # timeout=10 [2021-07-13T04:09:46.482Z] > git --version # 'git version 2.24.4' [2021-07-13T04:09:46.492Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:09:47.704Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:09:48.046Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:09:48.377Z] + sudo service docker restart [2021-07-13T04:09:48.377Z] + true [2021-07-13T04:09:48.377Z] Redirecting to /bin/systemctl restart docker.service [2021-07-13T04:09:49.687Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43 in /w/workspace/dgexfoundry_device-sdk-go_PR-998 [Pipeline] { [Pipeline] ws [2021-07-13T04:09:49.749Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-13T04:09:50.031Z] Selected Git installation does not exist. Using Default [2021-07-13T04:09:50.032Z] The recommended git tool is: NONE [2021-07-13T04:09:55.502Z] using credential edgex-jenkins-ssh [2021-07-13T04:09:55.522Z] Cloning the remote Git repository [2021-07-13T04:09:55.617Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-13T04:09:55.798Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-07-13T04:09:55.876Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-13T04:09:55.877Z] > git --version # timeout=10 [2021-07-13T04:09:55.893Z] > git --version # 'git version 2.17.1' [2021-07-13T04:09:55.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:09:55.984Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:09:57.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-13T04:09:57.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-13T04:09:57.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-13T04:09:57.329Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-13T04:09:57.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:09:57.342Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/998/head:refs/remotes/origin/PR-998 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-13T04:09:57.865Z] Merging remotes/origin/main commit b8bde01b3040ded824082163a6ece586529576f1 into PR head commit 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-07-13T04:09:58.072Z] Merge succeeded, producing 696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-07-13T04:09:58.073Z] Checking out Revision 696a5e317d56c84bbe6f088dbfeead2f4669ae0b (PR-998) [2021-07-13T04:09:57.883Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:09:57.897Z] > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 [2021-07-13T04:09:57.994Z] > git remote # timeout=10 [2021-07-13T04:09:58.013Z] > git config --get remote.origin.url # timeout=10 [2021-07-13T04:09:58.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-13T04:09:58.037Z] > git merge b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 [2021-07-13T04:09:58.058Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-13T04:09:58.079Z] > git config core.sparsecheckout # timeout=10 [2021-07-13T04:09:58.089Z] > git checkout -f 696a5e317d56c84bbe6f088dbfeead2f4669ae0b # timeout=10 [2021-07-13T04:10:02.317Z] Commit message: "build(deps): bump github.com/google/uuid from 1.2.0 to 1.3.0" [2021-07-13T04:10:02.380Z] > git --version # timeout=10 [2021-07-13T04:10:02.392Z] > git --version # 'git version 2.17.1' [2021-07-13T04:10:02.404Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:10:04.405Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:10:04.819Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-13T04:10:05.184Z] + + true [2021-07-13T04:10:05.184Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T04:10:06.610Z] provisioning config files... [2021-07-13T04:10:06.631Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3990958693714874590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:10:07.016Z] ---> docker-login.sh [2021-07-13T04:10:07.016Z] nexus3.edgexfoundry.org:10001 [2021-07-13T04:10:07.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:07.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:07.284Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:07.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:07.284Z] [2021-07-13T04:10:07.284Z] Login Succeeded [2021-07-13T04:10:07.284Z] nexus3.edgexfoundry.org:10002 [2021-07-13T04:10:07.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:07.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:07.284Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:07.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:07.284Z] [2021-07-13T04:10:07.284Z] Login Succeeded [2021-07-13T04:10:07.284Z] nexus3.edgexfoundry.org:10003 [2021-07-13T04:10:07.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:07.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:07.547Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:07.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:07.547Z] [2021-07-13T04:10:07.547Z] Login Succeeded [2021-07-13T04:10:07.547Z] nexus3.edgexfoundry.org:10004 [2021-07-13T04:10:07.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:07.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:07.547Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:07.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:07.547Z] [2021-07-13T04:10:07.547Z] Login Succeeded [2021-07-13T04:10:07.547Z] docker.io [2021-07-13T04:10:07.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:08.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:08.067Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:08.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:08.067Z] [2021-07-13T04:10:08.067Z] Login Succeeded [2021-07-13T04:10:08.067Z] ---> docker-login.sh ends [Pipeline] } [2021-07-13T04:10:08.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-13T04:10:08.405Z] ========================================================= [2021-07-13T04:10:08.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-13T04:10:08.405Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:10:08.764Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-13T04:10:08.764Z] Sending build context to Docker daemon 2.565MB [2021-07-13T04:10:08.764Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T04:10:08.764Z] Step 2/8 : FROM ${BASE} [2021-07-13T04:10:08.764Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-13T04:10:08.764Z] 540db60ca938: Pulling fs layer [2021-07-13T04:10:08.764Z] adcc1eea9eea: Pulling fs layer [2021-07-13T04:10:08.764Z] 4c4ab2625f07: Pulling fs layer [2021-07-13T04:10:08.764Z] 0773c198feca: Pulling fs layer [2021-07-13T04:10:08.764Z] 345f892a5656: Pulling fs layer [2021-07-13T04:10:08.764Z] 9ac62484cfdc: Pulling fs layer [2021-07-13T04:10:08.764Z] 5ac4037533be: Pulling fs layer [2021-07-13T04:10:08.764Z] dc6bda0758c5: Pulling fs layer [2021-07-13T04:10:08.764Z] 0773c198feca: Waiting [2021-07-13T04:10:08.764Z] 345f892a5656: Waiting [2021-07-13T04:10:08.764Z] 9ac62484cfdc: Waiting [2021-07-13T04:10:08.764Z] 5ac4037533be: Waiting [2021-07-13T04:10:08.764Z] dc6bda0758c5: Waiting [2021-07-13T04:10:09.028Z] 4c4ab2625f07: Download complete [2021-07-13T04:10:09.028Z] adcc1eea9eea: Verifying Checksum [2021-07-13T04:10:09.028Z] adcc1eea9eea: Download complete [2021-07-13T04:10:09.028Z] 345f892a5656: Verifying Checksum [2021-07-13T04:10:09.028Z] 345f892a5656: Download complete [2021-07-13T04:10:09.028Z] 540db60ca938: Verifying Checksum [2021-07-13T04:10:09.028Z] 540db60ca938: Download complete [2021-07-13T04:10:09.028Z] 9ac62484cfdc: Verifying Checksum [2021-07-13T04:10:09.028Z] 9ac62484cfdc: Download complete [2021-07-13T04:10:09.293Z] 540db60ca938: Pull complete [2021-07-13T04:10:09.293Z] adcc1eea9eea: Pull complete [2021-07-13T04:10:09.559Z] 4c4ab2625f07: Pull complete [2021-07-13T04:10:09.825Z] 5ac4037533be: Verifying Checksum [2021-07-13T04:10:09.825Z] 5ac4037533be: Download complete [2021-07-13T04:10:11.217Z] dc6bda0758c5: Verifying Checksum [2021-07-13T04:10:11.217Z] dc6bda0758c5: Download complete [2021-07-13T04:10:11.792Z] 0773c198feca: Verifying Checksum [2021-07-13T04:10:11.792Z] 0773c198feca: Download complete [2021-07-13T04:10:15.109Z] 0773c198feca: Pull complete [2021-07-13T04:10:15.109Z] 345f892a5656: Pull complete [2021-07-13T04:10:15.109Z] 9ac62484cfdc: Pull complete [2021-07-13T04:10:15.109Z] 5ac4037533be: Pull complete [2021-07-13T04:10:16.513Z] dc6bda0758c5: Pull complete [2021-07-13T04:10:16.514Z] Digest: sha256:693441261ed0de8fcf303aa2a0eae3a43e217b849db77d7793b1d2a0399e3ec4 [2021-07-13T04:10:16.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-13T04:10:16.514Z] ---> eb58bd16d52e [2021-07-13T04:10:16.514Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-13T04:10:19.832Z] ---> Running in d94399310c25 [2021-07-13T04:10:19.832Z] Removing intermediate container d94399310c25 [2021-07-13T04:10:19.832Z] ---> d83e17f9e94b [2021-07-13T04:10:19.832Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-13T04:10:19.832Z] ---> Running in 350ad5641631 [2021-07-13T04:10:20.406Z] Removing intermediate container 350ad5641631 [2021-07-13T04:10:20.406Z] ---> 7513baeaa5e3 [2021-07-13T04:10:20.406Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-13T04:10:20.406Z] ---> Running in a8c98a9adb1d [2021-07-13T04:10:20.668Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-13T04:10:21.616Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-13T04:10:21.878Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-13T04:10:21.878Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-13T04:10:22.140Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-13T04:10:22.140Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-13T04:10:22.404Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-13T04:10:22.404Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-13T04:10:22.404Z] Executing busybox-1.32.1-r6.trigger [2021-07-13T04:10:22.404Z] OK: 150 MiB in 46 packages [2021-07-13T04:10:22.665Z] Removing intermediate container a8c98a9adb1d [2021-07-13T04:10:22.665Z] ---> 4f123a41a64c [2021-07-13T04:10:22.665Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-13T04:10:22.927Z] ---> Running in aec44bda5413 [2021-07-13T04:10:22.927Z] Removing intermediate container aec44bda5413 [2021-07-13T04:10:22.927Z] ---> e1aa9cf87d9e [2021-07-13T04:10:22.927Z] Step 7/8 : COPY . . [2021-07-13T04:10:23.188Z] ---> 7de5c1fbc1ce [2021-07-13T04:10:23.188Z] Step 8/8 : RUN go mod download [2021-07-13T04:10:23.188Z] ---> Running in 92376dc40706 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T04:10:23.622Z] provisioning config files... [2021-07-13T04:10:23.650Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1622182639077700005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:10:24.106Z] ---> docker-login.sh [2021-07-13T04:10:24.106Z] nexus3.edgexfoundry.org:10001 [2021-07-13T04:10:25.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:25.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:25.369Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:25.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:25.369Z] [2021-07-13T04:10:25.369Z] Login Succeeded [2021-07-13T04:10:25.369Z] nexus3.edgexfoundry.org:10002 [2021-07-13T04:10:25.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:25.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:25.968Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:25.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:25.968Z] [2021-07-13T04:10:25.968Z] Login Succeeded [2021-07-13T04:10:25.968Z] nexus3.edgexfoundry.org:10003 [2021-07-13T04:10:26.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:26.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:26.522Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:26.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:26.522Z] [2021-07-13T04:10:26.522Z] Login Succeeded [2021-07-13T04:10:26.522Z] nexus3.edgexfoundry.org:10004 [2021-07-13T04:10:27.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:27.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:27.127Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:27.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:27.127Z] [2021-07-13T04:10:27.127Z] Login Succeeded [2021-07-13T04:10:27.127Z] docker.io [2021-07-13T04:10:27.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-13T04:10:28.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-13T04:10:28.004Z] Configure a credential helper to remove this warning. See [2021-07-13T04:10:28.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-13T04:10:28.004Z] [2021-07-13T04:10:28.004Z] Login Succeeded [2021-07-13T04:10:28.004Z] ---> docker-login.sh ends [Pipeline] } [2021-07-13T04:10:28.035Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-13T04:10:28.655Z] ========================================================= [2021-07-13T04:10:28.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-13T04:10:28.655Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:10:29.136Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-13T04:10:29.463Z] Sending build context to Docker daemon 2.564MB [2021-07-13T04:10:29.739Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T04:10:29.739Z] Step 2/8 : FROM ${BASE} [2021-07-13T04:10:29.739Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-13T04:10:29.739Z] 595b0fe564bb: Pulling fs layer [2021-07-13T04:10:29.739Z] 24495759ef45: Pulling fs layer [2021-07-13T04:10:29.739Z] d148012ef14d: Pulling fs layer [2021-07-13T04:10:29.739Z] cb65c68fc2e2: Pulling fs layer [2021-07-13T04:10:29.739Z] 093eec477d81: Pulling fs layer [2021-07-13T04:10:29.739Z] 20fd20ab2234: Pulling fs layer [2021-07-13T04:10:29.739Z] 43245461236d: Pulling fs layer [2021-07-13T04:10:29.739Z] 5a37c24eccbd: Pulling fs layer [2021-07-13T04:10:29.739Z] 5a37c24eccbd: Waiting [2021-07-13T04:10:29.739Z] 43245461236d: Waiting [2021-07-13T04:10:29.739Z] cb65c68fc2e2: Waiting [2021-07-13T04:10:29.739Z] 093eec477d81: Waiting [2021-07-13T04:10:29.739Z] 20fd20ab2234: Waiting [2021-07-13T04:10:30.014Z] d148012ef14d: Verifying Checksum [2021-07-13T04:10:30.014Z] d148012ef14d: Download complete [2021-07-13T04:10:30.014Z] 24495759ef45: Verifying Checksum [2021-07-13T04:10:30.014Z] 24495759ef45: Download complete [2021-07-13T04:10:30.014Z] 093eec477d81: Verifying Checksum [2021-07-13T04:10:30.014Z] 093eec477d81: Download complete [2021-07-13T04:10:30.014Z] 595b0fe564bb: Verifying Checksum [2021-07-13T04:10:30.014Z] 595b0fe564bb: Download complete [2021-07-13T04:10:30.014Z] 43245461236d: Verifying Checksum [2021-07-13T04:10:30.014Z] 43245461236d: Download complete [2021-07-13T04:10:30.014Z] 20fd20ab2234: Verifying Checksum [2021-07-13T04:10:30.014Z] 20fd20ab2234: Download complete [2021-07-13T04:10:30.624Z] 595b0fe564bb: Pull complete [2021-07-13T04:10:31.235Z] 24495759ef45: Pull complete [2021-07-13T04:10:31.841Z] d148012ef14d: Pull complete [2021-07-13T04:10:32.446Z] 5a37c24eccbd: Verifying Checksum [2021-07-13T04:10:32.446Z] 5a37c24eccbd: Download complete [2021-07-13T04:10:33.894Z] cb65c68fc2e2: Verifying Checksum [2021-07-13T04:10:33.894Z] cb65c68fc2e2: Download complete [2021-07-13T04:10:38.133Z] Removing intermediate container 92376dc40706 [2021-07-13T04:10:38.133Z] ---> 08534aee2106 [2021-07-13T04:10:38.133Z] Successfully built 08534aee2106 [2021-07-13T04:10:38.133Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:10:38.485Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-13T04:10:38.485Z] . [Pipeline] withDockerContainer [2021-07-13T04:10:38.601Z] prd-centos7-docker-4c-2g-44 does not seem to be running inside a container [2021-07-13T04:10:38.644Z] $ 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 ******** ci-base-image-x86_64 cat [2021-07-13T04:10:38.993Z] $ docker top 2ef0dc7a102f320ea5ceeb6397b129e170c32c8cafcdcaa92699f62aa0f45463 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:10:39.431Z] + go version [2021-07-13T04:10:39.431Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-13T04:10:39.467Z] $ docker stop --time=1 2ef0dc7a102f320ea5ceeb6397b129e170c32c8cafcdcaa92699f62aa0f45463 [2021-07-13T04:10:40.673Z] $ docker rm -f 2ef0dc7a102f320ea5ceeb6397b129e170c32c8cafcdcaa92699f62aa0f45463 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:10:41.674Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-13T04:10:41.675Z] . [Pipeline] withDockerContainer [2021-07-13T04:10:41.774Z] prd-centos7-docker-4c-2g-44 does not seem to be running inside a container [2021-07-13T04:10:41.835Z] $ 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 ******** ci-base-image-x86_64 cat [2021-07-13T04:10:42.184Z] $ docker top e0f3594162b87b38ed68c05592520c33a31b025d774804e10afa3cc7e7afa826 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:10:42.677Z] + go mod tidy [Pipeline] sh [2021-07-13T04:10:43.267Z] + make test [2021-07-13T04:10:43.267Z] go mod tidy [2021-07-13T04:10:43.267Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-13T04:10:44.089Z] cb65c68fc2e2: Pull complete [2021-07-13T04:10:44.363Z] 093eec477d81: Pull complete [2021-07-13T04:10:44.978Z] 20fd20ab2234: Pull complete [2021-07-13T04:10:45.250Z] 43245461236d: Pull complete [2021-07-13T04:10:48.592Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-13T04:10:49.583Z] 5a37c24eccbd: Pull complete [2021-07-13T04:10:49.583Z] Digest: sha256:1f93be31992c0c85398b36ba92fe0466778821d351774b6a75e3069a3cd419d7 [2021-07-13T04:10:49.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-13T04:10:49.583Z] ---> 274d7007c78b [2021-07-13T04:10:49.583Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-13T04:10:51.575Z] ---> Running in 465976c3a571 [2021-07-13T04:10:51.849Z] Removing intermediate container 465976c3a571 [2021-07-13T04:10:51.849Z] ---> 7aa4360945c1 [2021-07-13T04:10:51.849Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-13T04:10:51.849Z] ---> Running in cd19dc0f0d9d [2021-07-13T04:10:54.477Z] Removing intermediate container cd19dc0f0d9d [2021-07-13T04:10:54.477Z] ---> fb58816e9e90 [2021-07-13T04:10:54.477Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-13T04:10:54.478Z] ---> Running in 001fb3bcfff7 [2021-07-13T04:10:55.465Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-13T04:10:56.442Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-13T04:10:57.422Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-13T04:10:57.422Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-13T04:10:57.422Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-13T04:10:57.422Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-13T04:10:57.697Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-13T04:10:57.697Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-13T04:10:57.697Z] Executing busybox-1.32.1-r6.trigger [2021-07-13T04:10:57.697Z] OK: 139 MiB in 46 packages [2021-07-13T04:10:59.139Z] Removing intermediate container 001fb3bcfff7 [2021-07-13T04:10:59.139Z] ---> 0fec2ba3f608 [2021-07-13T04:10:59.139Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-13T04:10:59.139Z] ---> Running in ed77fa48ee31 [2021-07-13T04:10:59.738Z] Removing intermediate container ed77fa48ee31 [2021-07-13T04:10:59.738Z] ---> 909e3309e9d8 [2021-07-13T04:10:59.738Z] Step 7/8 : COPY . . [2021-07-13T04:11:01.173Z] ---> 60112b599cfc [2021-07-13T04:11:01.173Z] Step 8/8 : RUN go mod download [2021-07-13T04:11:01.173Z] ---> Running in a11ef3b1f97d [2021-07-13T04:11:10.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-13T04:11:10.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-13T04:11:10.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-13T04:11:13.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 24.2% of statements [2021-07-13T04:11:13.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-13T04:11:13.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 28.1% of statements [2021-07-13T04:11:13.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-07-13T04:11:13.880Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-07-13T04:11:13.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-13T04:11:13.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-13T04:11:13.880Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-13T04:11:14.147Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.058s coverage: 28.7% of statements [2021-07-13T04:11:14.147Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-13T04:11:15.549Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements [2021-07-13T04:11:15.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-13T04:11:15.549Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-13T04:11:15.549Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-07-13T04:11:16.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements [2021-07-13T04:11:16.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-13T04:11:16.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements [2021-07-13T04:11:16.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-13T04:11:16.532Z] GO111MODULE=on go vet ./... [2021-07-13T04:11:28.030Z] Removing intermediate container a11ef3b1f97d [2021-07-13T04:11:28.030Z] ---> 9ccaf9e68da5 [2021-07-13T04:11:28.030Z] Successfully built 9ccaf9e68da5 [2021-07-13T04:11:28.030Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:11:28.430Z] + docker inspect -f . ci-base-image-arm64 [2021-07-13T04:11:28.431Z] . [Pipeline] withDockerContainer [2021-07-13T04:11:28.727Z] prd-ubuntu18.04-docker-arm64-4c-16g-43 does not seem to be running inside a container [2021-07-13T04:11:28.811Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-13T04:11:30.385Z] $ docker top e772f7d11d1af1507815a732b36d5ff7c075a940c0c92b65aef4ff527a5ed8df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:11:31.382Z] + go version [2021-07-13T04:11:31.382Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-13T04:11:31.422Z] $ docker stop --time=1 e772f7d11d1af1507815a732b36d5ff7c075a940c0c92b65aef4ff527a5ed8df [2021-07-13T04:11:33.199Z] $ docker rm -f e772f7d11d1af1507815a732b36d5ff7c075a940c0c92b65aef4ff527a5ed8df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:11:34.290Z] + docker inspect -f . ci-base-image-arm64 [2021-07-13T04:11:34.290Z] . [Pipeline] withDockerContainer [2021-07-13T04:11:34.572Z] prd-ubuntu18.04-docker-arm64-4c-16g-43 does not seem to be running inside a container [2021-07-13T04:11:34.650Z] $ 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 ******** ci-base-image-arm64 cat [2021-07-13T04:11:34.778Z] gofmt -l . [2021-07-13T04:11:34.778Z] [ "`gofmt -l .`" = "" ] [2021-07-13T04:11:34.778Z] ./bin/test-attribution-txt.sh [2021-07-13T04:11:34.778Z] ./bin/test-go-mod-tidy.sh [2021-07-13T04:11:36.130Z] $ docker top a84b29c85989b771d2013b883722d943ab3ad7d644348464364b64731e31ba80 -eo pid,comm [Pipeline] { [Pipeline] } [2021-07-13T04:11:36.492Z] $ docker stop --time=1 e0f3594162b87b38ed68c05592520c33a31b025d774804e10afa3cc7e7afa826 [2021-07-13T04:11:37.950Z] $ docker rm -f e0f3594162b87b38ed68c05592520c33a31b025d774804e10afa3cc7e7afa826 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-07-13T04:11:38.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-13T04:11:38.712Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-13T04:11:38.868Z] + go mod tidy [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] sh [2021-07-13T04:11:48.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-13T04:11:49.199Z] + make test [2021-07-13T04:11:49.199Z] go mod tidy [2021-07-13T04:11:49.286Z] + ls -al . [2021-07-13T04:11:49.286Z] total 228 [2021-07-13T04:11:49.286Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 13 04:11 . [2021-07-13T04:11:49.286Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 13 04:09 .. [2021-07-13T04:11:49.286Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 13 04:09 bin [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 13 04:09 CHANGELOG.md [2021-07-13T04:11:49.286Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 13 04:11 coverage.out [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 13 04:09 Dockerfile.build [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 13 04:09 .dockerignore [2021-07-13T04:11:49.286Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 13 04:09 example [2021-07-13T04:11:49.286Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 13 04:09 .git [2021-07-13T04:11:49.286Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 13 04:09 .github [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 13 04:09 .gitignore [2021-07-13T04:11:49.286Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 13 04:11 go.mod [2021-07-13T04:11:49.286Z] -rw-r--r--. 1 jenkins jenkins 20386 Jul 13 04:10 go.sum [2021-07-13T04:11:49.286Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 13 04:09 internal [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 13 04:09 Jenkinsfile [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 13 04:09 LICENSE [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 13 04:09 Makefile [2021-07-13T04:11:49.286Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 13 04:09 openapi [2021-07-13T04:11:49.286Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 13 04:09 pkg [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jul 13 04:09 README.md [2021-07-13T04:11:49.286Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 13 04:09 snap [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 13 04:07 VERSION [2021-07-13T04:11:49.286Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 13 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:11:49.645Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=696a5e317d56c84bbe6f088dbfeead2f4669ae0b --label arch=amd64 --label version=0.0.0 . [2021-07-13T04:11:49.645Z] Sending build context to Docker daemon 2.691MB [2021-07-13T04:11:49.645Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T04:11:49.645Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-13T04:11:49.645Z] ---> 08534aee2106 [2021-07-13T04:11:49.645Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-13T04:11:49.645Z] ---> Running in 534882b63451 [2021-07-13T04:11:49.645Z] Removing intermediate container 534882b63451 [2021-07-13T04:11:49.645Z] ---> fe1b3f8fd84e [2021-07-13T04:11:49.645Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-13T04:11:49.801Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-13T04:11:49.909Z] ---> Running in 1fb2578b37d6 [2021-07-13T04:11:49.909Z] Removing intermediate container 1fb2578b37d6 [2021-07-13T04:11:49.909Z] ---> abc45f1fec40 [2021-07-13T04:11:49.909Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-13T04:11:49.909Z] ---> Running in eaab50134eba [2021-07-13T04:11:50.172Z] Removing intermediate container eaab50134eba [2021-07-13T04:11:50.172Z] ---> 66e6efbb90d4 [2021-07-13T04:11:50.172Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-13T04:11:50.432Z] ---> Running in 580f0c4cf63e [2021-07-13T04:11:50.691Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-13T04:11:51.261Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-13T04:11:51.835Z] OK: 150 MiB in 46 packages [2021-07-13T04:11:52.096Z] Removing intermediate container 580f0c4cf63e [2021-07-13T04:11:52.096Z] ---> 7579a3c67b7b [2021-07-13T04:11:52.096Z] Step 7/23 : COPY . . [2021-07-13T04:11:52.362Z] ---> 4fa7741ba72f [2021-07-13T04:11:52.362Z] Step 8/23 : RUN go mod download [2021-07-13T04:11:52.362Z] ---> Running in 1ebf68af50e0 [2021-07-13T04:11:52.942Z] Removing intermediate container 1ebf68af50e0 [2021-07-13T04:11:52.942Z] ---> 3c17906f6ab1 [2021-07-13T04:11:52.942Z] Step 9/23 : RUN make build [2021-07-13T04:11:52.942Z] ---> Running in 65a59e65b246 [2021-07-13T04:11:52.942Z] go mod tidy [2021-07-13T04:11:53.211Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-13T04:12:03.277Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-13T04:12:04.222Z] Removing intermediate container 65a59e65b246 [2021-07-13T04:12:04.222Z] ---> cf77dee44781 [2021-07-13T04:12:04.222Z] Step 10/23 : FROM alpine:3.12 [2021-07-13T04:12:04.483Z] 3.12: Pulling from library/alpine [2021-07-13T04:12:04.743Z] 339de151aab4: Pulling fs layer [2021-07-13T04:12:04.743Z] 339de151aab4: Verifying Checksum [2021-07-13T04:12:04.743Z] 339de151aab4: Download complete [2021-07-13T04:12:05.003Z] 339de151aab4: Pull complete [2021-07-13T04:12:05.004Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-13T04:12:05.004Z] Status: Downloaded newer image for alpine:3.12 [2021-07-13T04:12:05.004Z] ---> 13621d1b12d4 [2021-07-13T04:12:05.004Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-13T04:12:05.004Z] ---> Running in 6b6d8b160fdc [2021-07-13T04:12:05.268Z] Removing intermediate container 6b6d8b160fdc [2021-07-13T04:12:05.268Z] ---> 93f03bdd9ac3 [2021-07-13T04:12:05.268Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-13T04:12:05.268Z] ---> Running in ec3e033a47de [2021-07-13T04:12:05.530Z] Removing intermediate container ec3e033a47de [2021-07-13T04:12:05.530Z] ---> 2aeb2e2e3fb1 [2021-07-13T04:12:05.530Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-13T04:12:05.530Z] ---> Running in 8f651a79c93d [2021-07-13T04:12:05.796Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-13T04:12:06.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-13T04:12:06.942Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-13T04:12:06.942Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-13T04:12:06.942Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-13T04:12:07.897Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-13T04:12:08.163Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-13T04:12:08.163Z] Executing busybox-1.31.1-r20.trigger [2021-07-13T04:12:08.163Z] OK: 8 MiB in 19 packages [2021-07-13T04:12:08.435Z] Removing intermediate container 8f651a79c93d [2021-07-13T04:12:08.435Z] ---> eb339eb5db37 [2021-07-13T04:12:08.435Z] Step 14/23 : WORKDIR / [2021-07-13T04:12:08.435Z] ---> Running in 60be53ac64e1 [2021-07-13T04:12:08.435Z] Removing intermediate container 60be53ac64e1 [2021-07-13T04:12:08.435Z] ---> 7c6a31fca961 [2021-07-13T04:12:08.435Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-13T04:12:08.696Z] ---> d240976ccd0f [2021-07-13T04:12:08.696Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-13T04:12:08.959Z] ---> 8d245b4c2eb7 [2021-07-13T04:12:08.959Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-13T04:12:09.227Z] ---> a0d0841dbed4 [2021-07-13T04:12:09.227Z] Step 18/23 : EXPOSE 59999 [2021-07-13T04:12:09.227Z] ---> Running in 4d79766bc9cf [2021-07-13T04:12:09.227Z] Removing intermediate container 4d79766bc9cf [2021-07-13T04:12:09.227Z] ---> 3cdc386e14f6 [2021-07-13T04:12:09.227Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-13T04:12:09.227Z] ---> Running in 254763549b47 [2021-07-13T04:12:09.227Z] Removing intermediate container 254763549b47 [2021-07-13T04:12:09.227Z] ---> 35205c3555b8 [2021-07-13T04:12:09.227Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-13T04:12:09.488Z] ---> Running in 005b48b7ca01 [2021-07-13T04:12:09.488Z] Removing intermediate container 005b48b7ca01 [2021-07-13T04:12:09.488Z] ---> 58de76fdad75 [2021-07-13T04:12:09.488Z] Step 21/23 : LABEL arch=amd64 [2021-07-13T04:12:09.488Z] ---> Running in 16e186d0fbc1 [2021-07-13T04:12:09.488Z] Removing intermediate container 16e186d0fbc1 [2021-07-13T04:12:09.488Z] ---> b82e80a5e54f [2021-07-13T04:12:09.488Z] Step 22/23 : LABEL git_sha=696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-07-13T04:12:09.488Z] ---> Running in ce61f356359c [2021-07-13T04:12:09.749Z] Removing intermediate container ce61f356359c [2021-07-13T04:12:09.749Z] ---> 83d2729e23d8 [2021-07-13T04:12:09.749Z] Step 23/23 : LABEL version=0.0.0 [2021-07-13T04:12:09.749Z] ---> Running in 9f802ca30f04 [2021-07-13T04:12:09.749Z] Removing intermediate container 9f802ca30f04 [2021-07-13T04:12:09.749Z] ---> b9ad94f9008f [2021-07-13T04:12:09.749Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-13T04:12:09.749Z] Successfully built b9ad94f9008f [2021-07-13T04:12:09.749Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:12:11.523Z] ---> job-cost.sh [2021-07-13T04:12:11.523Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W7yq [2021-07-13T04:12:12.038Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-13T04:12:21.569Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-13T04:12:34.183Z] lf-activate-venv(): INFO: Adding /tmp/venv-W7yq/bin to PATH [2021-07-13T04:12:34.183Z] INFO: No Stack... [2021-07-13T04:12:34.183Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-13T04:12:34.445Z] INFO: Archiving Costs [Pipeline] sh [2021-07-13T04:12:34.775Z] + cut -d, -f6 [2021-07-13T04:12:34.775Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-13T04:12:34.852Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] [2021-07-13T04:12:34.864Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] did not exist. Created. [2021-07-13T04:12:34.866Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-13T04:12:35.311Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-13T04:12:35.401Z] Stashed 1 file(s) [Pipeline] } [2021-07-13T04:12:35.426Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-13T04:13:20.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-13T04:13:20.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-13T04:13:20.192Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-13T04:13:26.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.273s coverage: 24.2% of statements [2021-07-13T04:13:26.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-13T04:13:26.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.178s coverage: 28.1% of statements [2021-07-13T04:13:26.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.263s coverage: 78.9% of statements [2021-07-13T04:13:26.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.189s coverage: 9.0% of statements [2021-07-13T04:13:26.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-13T04:13:26.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-13T04:13:26.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-13T04:13:27.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.328s coverage: 28.7% of statements [2021-07-13T04:13:27.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-13T04:13:29.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.232s coverage: 83.3% of statements [2021-07-13T04:13:29.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-13T04:13:29.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-13T04:13:29.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.302s coverage: 58.0% of statements [2021-07-13T04:13:33.710Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.989s coverage: 89.2% of statements [2021-07-13T04:13:33.710Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-13T04:13:33.710Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 4.9% of statements [2021-07-13T04:13:33.710Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-13T04:13:33.984Z] GO111MODULE=on go vet ./... [2021-07-13T04:14:30.592Z] gofmt -l . [2021-07-13T04:14:30.592Z] [ "`gofmt -l .`" = "" ] [2021-07-13T04:14:30.592Z] ./bin/test-attribution-txt.sh [2021-07-13T04:14:30.592Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-13T04:14:30.629Z] $ docker stop --time=1 a84b29c85989b771d2013b883722d943ab3ad7d644348464364b64731e31ba80 [2021-07-13T04:14:32.750Z] $ docker rm -f a84b29c85989b771d2013b883722d943ab3ad7d644348464364b64731e31ba80 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-13T04:14:33.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-13T04:14:33.952Z] Warning: overwriting stash ‘coverage-report’ [2021-07-13T04:14:34.599Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-13T04:14:35.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-13T04:14:35.770Z] + ls -al . [2021-07-13T04:14:35.770Z] total 264 [2021-07-13T04:14:35.770Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 04:14 . [2021-07-13T04:14:35.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 04:09 .. [2021-07-13T04:14:35.770Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 13 04:09 .dockerignore [2021-07-13T04:14:35.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 04:10 .git [2021-07-13T04:14:35.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 04:09 .github [2021-07-13T04:14:35.770Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 13 04:09 .gitignore [2021-07-13T04:14:35.770Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 13 04:09 CHANGELOG.md [2021-07-13T04:14:35.770Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 13 04:09 Dockerfile.build [2021-07-13T04:14:35.771Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 13 04:09 Jenkinsfile [2021-07-13T04:14:35.771Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 13 04:09 LICENSE [2021-07-13T04:14:35.771Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 13 04:09 Makefile [2021-07-13T04:14:35.771Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jul 13 04:09 README.md [2021-07-13T04:14:35.771Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 04:07 VERSION [2021-07-13T04:14:35.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 04:09 bin [2021-07-13T04:14:35.771Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 13 04:13 coverage.out [2021-07-13T04:14:35.771Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 04:09 example [2021-07-13T04:14:35.771Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 13 04:14 go.mod [2021-07-13T04:14:35.771Z] -rw-r--r-- 1 jenkins jenkins 20386 Jul 13 04:11 go.sum [2021-07-13T04:14:35.771Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 13 04:09 internal [2021-07-13T04:14:35.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 04:09 openapi [2021-07-13T04:14:35.771Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 04:09 pkg [2021-07-13T04:14:35.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 04:09 snap [2021-07-13T04:14:35.771Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 13 04:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:14:36.169Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=696a5e317d56c84bbe6f088dbfeead2f4669ae0b --label arch=arm64 --label version=0.0.0 . [2021-07-13T04:14:36.445Z] Sending build context to Docker daemon 2.69MB [2021-07-13T04:14:36.717Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-13T04:14:36.717Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-13T04:14:36.717Z] ---> 9ccaf9e68da5 [2021-07-13T04:14:36.717Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-13T04:14:36.994Z] ---> Running in e06c07869cfd [2021-07-13T04:14:37.595Z] Removing intermediate container e06c07869cfd [2021-07-13T04:14:37.595Z] ---> 15aa8e8727c4 [2021-07-13T04:14:37.595Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-13T04:14:37.595Z] ---> Running in e51f14cf98f3 [2021-07-13T04:14:38.195Z] Removing intermediate container e51f14cf98f3 [2021-07-13T04:14:38.195Z] ---> 854a2eb3095c [2021-07-13T04:14:38.195Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-13T04:14:38.490Z] ---> Running in 4fc2d7be1bcf [2021-07-13T04:14:40.485Z] Removing intermediate container 4fc2d7be1bcf [2021-07-13T04:14:40.485Z] ---> 4da9ac24018b [2021-07-13T04:14:40.485Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-13T04:14:40.485Z] ---> Running in 08d06eb3af86 [2021-07-13T04:14:41.937Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-13T04:14:42.919Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-13T04:14:43.525Z] OK: 139 MiB in 46 packages [2021-07-13T04:14:44.509Z] Removing intermediate container 08d06eb3af86 [2021-07-13T04:14:44.509Z] ---> 4e4e7a72e798 [2021-07-13T04:14:44.509Z] Step 7/23 : COPY . . [2021-07-13T04:14:45.951Z] ---> 18dde432132a [2021-07-13T04:14:45.951Z] Step 8/23 : RUN go mod download [2021-07-13T04:14:45.951Z] ---> Running in a9d9b16126fe [2021-07-13T04:14:48.588Z] Removing intermediate container a9d9b16126fe [2021-07-13T04:14:48.588Z] ---> 02bc07419f25 [2021-07-13T04:14:48.588Z] Step 9/23 : RUN make build [2021-07-13T04:14:48.588Z] ---> Running in 6cafcf476454 [2021-07-13T04:14:49.575Z] go mod tidy [2021-07-13T04:14:50.180Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-13T04:15:22.620Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-13T04:15:24.068Z] Removing intermediate container 6cafcf476454 [2021-07-13T04:15:24.068Z] ---> 483291a78122 [2021-07-13T04:15:24.068Z] Step 10/23 : FROM alpine:3.12 [2021-07-13T04:15:24.664Z] 3.12: Pulling from library/alpine [2021-07-13T04:15:24.938Z] d2f70382dc9a: Pulling fs layer [2021-07-13T04:15:25.213Z] d2f70382dc9a: Verifying Checksum [2021-07-13T04:15:25.213Z] d2f70382dc9a: Download complete [2021-07-13T04:15:25.816Z] d2f70382dc9a: Pull complete [2021-07-13T04:15:25.816Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-13T04:15:25.816Z] Status: Downloaded newer image for alpine:3.12 [2021-07-13T04:15:25.816Z] ---> c4fd0aeabfcf [2021-07-13T04:15:25.816Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-13T04:15:26.091Z] ---> Running in 4c9a7402cb59 [2021-07-13T04:15:26.365Z] Removing intermediate container 4c9a7402cb59 [2021-07-13T04:15:26.365Z] ---> 244a0947e78f [2021-07-13T04:15:26.365Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-13T04:15:26.639Z] ---> Running in e65c5096bda9 [2021-07-13T04:15:28.625Z] Removing intermediate container e65c5096bda9 [2021-07-13T04:15:28.625Z] ---> 075a8470e05e [2021-07-13T04:15:28.625Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-13T04:15:28.900Z] ---> Running in 96ef87293c06 [2021-07-13T04:15:29.878Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-13T04:15:30.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-13T04:15:31.454Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-13T04:15:31.454Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-13T04:15:31.454Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-13T04:15:31.732Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-13T04:15:31.733Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-13T04:15:32.006Z] Executing busybox-1.31.1-r20.trigger [2021-07-13T04:15:32.006Z] OK: 8 MiB in 19 packages [2021-07-13T04:15:33.001Z] Removing intermediate container 96ef87293c06 [2021-07-13T04:15:33.001Z] ---> 9af0a6a68ea1 [2021-07-13T04:15:33.001Z] Step 14/23 : WORKDIR / [2021-07-13T04:15:33.275Z] ---> Running in f655725ff458 [2021-07-13T04:15:33.549Z] Removing intermediate container f655725ff458 [2021-07-13T04:15:33.549Z] ---> 80d791b35a7b [2021-07-13T04:15:33.549Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-13T04:15:34.525Z] ---> d90f8f86de4d [2021-07-13T04:15:34.525Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-13T04:15:35.504Z] ---> 7de570f7d4dc [2021-07-13T04:15:35.504Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-13T04:15:36.103Z] ---> 38d2b56bee67 [2021-07-13T04:15:36.103Z] Step 18/23 : EXPOSE 59999 [2021-07-13T04:15:36.379Z] ---> Running in 2fccb2180d28 [2021-07-13T04:15:36.980Z] Removing intermediate container 2fccb2180d28 [2021-07-13T04:15:36.980Z] ---> 83c29c3cc2ad [2021-07-13T04:15:36.980Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-13T04:15:36.980Z] ---> Running in fb63ef7ddd02 [2021-07-13T04:15:37.578Z] Removing intermediate container fb63ef7ddd02 [2021-07-13T04:15:37.578Z] ---> 0f120bbf00d1 [2021-07-13T04:15:37.578Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-13T04:15:37.578Z] ---> Running in 708ea2eab2fe [2021-07-13T04:15:38.180Z] Removing intermediate container 708ea2eab2fe [2021-07-13T04:15:38.180Z] ---> 32addbe9ce53 [2021-07-13T04:15:38.180Z] Step 21/23 : LABEL arch=arm64 [2021-07-13T04:15:38.180Z] ---> Running in 42a4ddf0ed25 [2021-07-13T04:15:38.780Z] Removing intermediate container 42a4ddf0ed25 [2021-07-13T04:15:38.780Z] ---> d89bce7342b3 [2021-07-13T04:15:38.780Z] Step 22/23 : LABEL git_sha=696a5e317d56c84bbe6f088dbfeead2f4669ae0b [2021-07-13T04:15:38.780Z] ---> Running in 45fae5bcc5ea [2021-07-13T04:15:39.389Z] Removing intermediate container 45fae5bcc5ea [2021-07-13T04:15:39.389Z] ---> d0006a77f004 [2021-07-13T04:15:39.389Z] Step 23/23 : LABEL version=0.0.0 [2021-07-13T04:15:39.389Z] ---> Running in 102df839da25 [2021-07-13T04:15:39.988Z] Removing intermediate container 102df839da25 [2021-07-13T04:15:39.988Z] ---> 3f12b55bd534 [2021-07-13T04:15:39.988Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-13T04:15:39.988Z] Successfully built 3f12b55bd534 [2021-07-13T04:15:39.988Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:15:41.066Z] ---> job-cost.sh [2021-07-13T04:15:41.066Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bvZu [2021-07-13T04:16:20.073Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-13T04:17:56.902Z] lf-activate-venv(): INFO: Adding /tmp/venv-bvZu/bin to PATH [2021-07-13T04:17:56.902Z] INFO: No Stack... [2021-07-13T04:17:56.902Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-13T04:17:56.902Z] INFO: Archiving Costs [Pipeline] sh [2021-07-13T04:17:57.272Z] + + cut -d, -f6cat [2021-07-13T04:17:57.272Z] /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-13T04:17:57.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] [2021-07-13T04:17:57.370Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] did not exist. Created. [2021-07-13T04:17:57.370Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-13T04:17:57.869Z] /w/workspace/device-sdk-go/1@tmp/durable-cca5077f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-cca5077f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-13T04:17:58.236Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-13T04:17:58.283Z] Warning: overwriting stash ‘stack-cost’ [2021-07-13T04:17:58.479Z] Stashed 1 file(s) [Pipeline] } [2021-07-13T04:17:58.506Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-998-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-13T04:17:59.513Z] provisioning config files... [2021-07-13T04:17:59.523Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/config7574707262516595763tmp [Pipeline] { [Pipeline] sh [2021-07-13T04:17:59.906Z] + set +x [2021-07-13T04:17:59.907Z] + bash -s -- [2021-07-13T04:17:59.907Z] + curl -s https://codecov.io/bash [2021-07-13T04:17:59.907Z] [2021-07-13T04:17:59.907Z] _____ _ [2021-07-13T04:17:59.907Z] / ____| | | [2021-07-13T04:17:59.907Z] | | ___ __| | ___ ___ _____ __ [2021-07-13T04:17:59.907Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-13T04:17:59.907Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-13T04:17:59.907Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-13T04:17:59.907Z] Bash-1.0.4 [2021-07-13T04:17:59.907Z] [2021-07-13T04:17:59.907Z] [2021-07-13T04:17:59.907Z] ==> git version 2.24.4 found [2021-07-13T04:17:59.907Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-07-13T04:17:59.907Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-13T04:17:59.907Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-13T04:17:59.907Z] ==> Jenkins CI detected. [2021-07-13T04:17:59.907Z] project root: . [2021-07-13T04:17:59.907Z] --> token set from env [2021-07-13T04:17:59.907Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-13T04:17:59.907Z] ==> Running gcov in . (disable via -X gcov) [2021-07-13T04:17:59.907Z] ==> Python coveragepy not found [2021-07-13T04:17:59.907Z] ==> Searching for coverage reports in: [2021-07-13T04:17:59.907Z] + . [2021-07-13T04:17:59.907Z] -> Found 1 reports [2021-07-13T04:17:59.907Z] ==> Detecting git/mercurial file structure [2021-07-13T04:17:59.907Z] ==> Reading reports [2021-07-13T04:18:00.173Z] + ./coverage.out bytes=125634 [2021-07-13T04:18:00.173Z] ==> Appending adjustments [2021-07-13T04:18:00.173Z] https://docs.codecov.io/docs/fixing-reports [2021-07-13T04:18:00.436Z] + Found adjustments [2021-07-13T04:18:00.436Z] ==> Gzipping contents [2021-07-13T04:18:00.436Z] 16K /tmp/codecov.Y7EvIU.gz [2021-07-13T04:18:00.436Z] ==> Uploading reports [2021-07-13T04:18:00.436Z] url: https://codecov.io [2021-07-13T04:18:00.436Z] query: branch=PR-998&commit=696a5e317d56c84bbe6f088dbfeead2f4669ae0b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-998%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=998&job=&cmd_args= [2021-07-13T04:18:00.436Z] -> Pinging Codecov [2021-07-13T04:18:00.436Z] https://codecov.io/upload/v4?package=bash-1.0.4&branch=PR-998&commit=696a5e317d56c84bbe6f088dbfeead2f4669ae0b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-998%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=998&job=&cmd_args= [2021-07-13T04:18:01.012Z] -> Uploading to [2021-07-13T04:18:01.012Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-13/7E55EF52A471D76F132DFD9A03CDDE97/696a5e317d56c84bbe6f088dbfeead2f4669ae0b/e5b8e3d0-7f42-45d5-a9a3-cd9f9a8105df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210713T041800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0a16900ccc2869e79a0db6b10d9ba76177207f7159f828355c8d801a26c9ff1 [2021-07-13T04:18:01.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-13T04:18:01.012Z] Dload Upload Total Spent Left Speed [2021-07-13T04:18:01.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16035 0 0 100 16035 0 40000 --:--:-- --:--:-- --:--:-- 40087 [2021-07-13T04:18:01.273Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/696a5e317d56c84bbe6f088dbfeead2f4669ae0b [Pipeline] } [2021-07-13T04:18:01.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:04.058Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:04.689Z] ---> package-listing.sh [2021-07-13T04:18:04.689Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-13T04:18:04.689Z] ++ facter osfamily [2021-07-13T04:18:04.955Z] + OS_FAMILY=redhat [2021-07-13T04:18:04.955Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-998 [2021-07-13T04:18:04.955Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-13T04:18:04.955Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-13T04:18:04.955Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-13T04:18:04.955Z] + PACKAGES=/tmp/packages_start.txt [2021-07-13T04:18:04.955Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-998 ']' [2021-07-13T04:18:04.955Z] + PACKAGES=/tmp/packages_end.txt [2021-07-13T04:18:04.955Z] + case "${OS_FAMILY}" in [2021-07-13T04:18:04.955Z] + rpm -qa [2021-07-13T04:18:04.955Z] + sort [2021-07-13T04:18:05.529Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-13T04:18:05.529Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-13T04:18:05.529Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-13T04:18:05.529Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-998 ']' [2021-07-13T04:18:05.529Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-998/archives/ [2021-07-13T04:18:05.529Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-998/archives/ [Pipeline] echo [2021-07-13T04:18:05.580Z] 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-998/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-13T04:18:05.928Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:18:06.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T04:18:06.543Z] [2021-07-13T04:18:06.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-13T04:18:06.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T04:18:07.171Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-13T04:18:07.171Z] df20fa9351a1: Pulling fs layer [2021-07-13T04:18:07.171Z] 36b3adc4ff6f: Pulling fs layer [2021-07-13T04:18:07.171Z] 8ad3a11d3b57: Pulling fs layer [2021-07-13T04:18:07.171Z] 46f8f816bc3b: Pulling fs layer [2021-07-13T04:18:07.171Z] 93b61091891f: Pulling fs layer [2021-07-13T04:18:07.171Z] 93b9cdb0e59b: Pulling fs layer [2021-07-13T04:18:07.171Z] 5e14af77c1be: Pulling fs layer [2021-07-13T04:18:07.171Z] 01666e4c0597: Pulling fs layer [2021-07-13T04:18:07.171Z] aa168da1d23b: Pulling fs layer [2021-07-13T04:18:07.171Z] 46f8f816bc3b: Waiting [2021-07-13T04:18:07.171Z] 93b61091891f: Waiting [2021-07-13T04:18:07.171Z] 93b9cdb0e59b: Waiting [2021-07-13T04:18:07.171Z] 5e14af77c1be: Waiting [2021-07-13T04:18:07.171Z] 01666e4c0597: Waiting [2021-07-13T04:18:07.171Z] 36b3adc4ff6f: Verifying Checksum [2021-07-13T04:18:07.171Z] 36b3adc4ff6f: Download complete [2021-07-13T04:18:07.171Z] 46f8f816bc3b: Verifying Checksum [2021-07-13T04:18:07.171Z] 46f8f816bc3b: Download complete [2021-07-13T04:18:07.171Z] df20fa9351a1: Verifying Checksum [2021-07-13T04:18:07.171Z] df20fa9351a1: Download complete [2021-07-13T04:18:07.433Z] 93b9cdb0e59b: Verifying Checksum [2021-07-13T04:18:07.433Z] 93b9cdb0e59b: Download complete [2021-07-13T04:18:07.433Z] 5e14af77c1be: Verifying Checksum [2021-07-13T04:18:07.433Z] 5e14af77c1be: Download complete [2021-07-13T04:18:07.433Z] 01666e4c0597: Verifying Checksum [2021-07-13T04:18:07.433Z] 01666e4c0597: Download complete [2021-07-13T04:18:07.433Z] 93b61091891f: Verifying Checksum [2021-07-13T04:18:07.433Z] 93b61091891f: Download complete [2021-07-13T04:18:07.433Z] df20fa9351a1: Pull complete [2021-07-13T04:18:07.433Z] 8ad3a11d3b57: Verifying Checksum [2021-07-13T04:18:07.433Z] 8ad3a11d3b57: Download complete [2021-07-13T04:18:07.748Z] 36b3adc4ff6f: Pull complete [2021-07-13T04:18:08.348Z] 8ad3a11d3b57: Pull complete [2021-07-13T04:18:08.348Z] 46f8f816bc3b: Pull complete [2021-07-13T04:18:08.613Z] 93b61091891f: Pull complete [2021-07-13T04:18:08.613Z] 93b9cdb0e59b: Pull complete [2021-07-13T04:18:08.613Z] 5e14af77c1be: Pull complete [2021-07-13T04:18:08.875Z] 01666e4c0597: Pull complete [2021-07-13T04:18:10.262Z] aa168da1d23b: Verifying Checksum [2021-07-13T04:18:10.262Z] aa168da1d23b: Download complete [2021-07-13T04:18:14.514Z] aa168da1d23b: Pull complete [2021-07-13T04:18:14.514Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-13T04:18:14.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-13T04:18:14.514Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-13T04:18:14.621Z] prd-centos7-docker-4c-2g-41 does not seem to be running inside a container [2021-07-13T04:18:14.656Z] $ 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-998/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-998 -v /w/workspace/dgexfoundry_device-sdk-go_PR-998:/w/workspace/dgexfoundry_device-sdk-go_PR-998:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-13T04:18:17.135Z] $ docker top 25329bd7d221ab07643c9abe7634112f2950437813765f99a6132aaec843eb2e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-13T04:18:17.593Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-13T04:18:17.924Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-13T04:18:18.253Z] + ls /var/log/sa-host [2021-07-13T04:18:18.253Z] + sadf -c /var/log/sa-host/sa05 [2021-07-13T04:18:18.253Z] file_magic: OK [2021-07-13T04:18:18.253Z] HZ: Using current value: 100 [2021-07-13T04:18:18.253Z] file_header: OK [2021-07-13T04:18:18.253Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-13T04:18:18.253Z] Statistics: [2021-07-13T04:18:18.253Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-13T04:18:18.253Z] File successfully converted to sysstat format version 12.2.1 [2021-07-13T04:18:18.253Z] + sadf -c /var/log/sa-host/sa13 [2021-07-13T04:18:18.253Z] file_magic: OK [2021-07-13T04:18:18.253Z] HZ: Using current value: 100 [2021-07-13T04:18:18.253Z] file_header: OK [2021-07-13T04:18:18.253Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-13T04:18:18.253Z] Statistics: [2021-07-13T04:18:18.253Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-13T04:18:18.253Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-13T04:18:18.543Z] provisioning config files... [2021-07-13T04:18:18.558Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-998@tmp/config4497425970890135524tmp [Pipeline] { [Pipeline] echo [2021-07-13T04:18:18.632Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:19.000Z] ---> create-netrc.sh [Pipeline] } [2021-07-13T04:18:19.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:19.490Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-13T04:18:19.523Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:19.866Z] ---> sudo-logs.sh [2021-07-13T04:18:19.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-13T04:18:19.958Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:20.299Z] ---> job-cost.sh [2021-07-13T04:18:20.299Z] lf-activate-venv: SKIPPING [2021-07-13T04:18:20.299Z] DEBUG: total: 0.18000000715255737 [2021-07-13T04:18:20.299Z] INFO: Retrieving Stack Cost... [2021-07-13T04:18:21.243Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-13T04:18:21.504Z] INFO: Archiving Costs [Pipeline] echo [2021-07-13T04:18:21.544Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-13T04:18:21.897Z] ---> logs-deploy.sh [2021-07-13T04:18:21.897Z] lf-activate-venv: SKIPPING [2021-07-13T04:18:21.897Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-998/1 [2021-07-13T04:18:21.897Z] INFO: archiving workspace using pattern(s): [2021-07-13T04:18:22.845Z] Archives upload complete. [2021-07-13T04:18:22.845Z] INFO: archiving logs to Nexus