Pull request #707 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bcd0eefbe4e2a47357e05891bdb625cf1d17cfca+372098887a6a7d5d9395bdaf9d03a023308f69fd (22db92e7351290409f58944c7cf8e147d2e1eff0) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18312 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-707 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit bcd0eefbe4e2a47357e05891bdb625cf1d17cfca Merge succeeded, producing bcd0eefbe4e2a47357e05891bdb625cf1d17cfca Checking out Revision bcd0eefbe4e2a47357e05891bdb625cf1d17cfca (PR-707) > git config core.sparsecheckout # timeout=10 > git checkout -f bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 Commit message: "feat: SecretProvider for storing/retrieving secrets" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:48:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:48:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:48:06 ========================================================= 22:48:06 EdgeX Global Pipelines Version Info 22:48:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9769038447d1e7dbe0e78e49c82136956adeffd1 # timeout=10 22:48:08 ------------------- 22:48:08 stable info: 22:48:08 ------------------- 22:48:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:48:08 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:48:08 Message: update stable to v1.0.173 22:48:09 ------------------- 22:48:09 experimental info: 22:48:09 ------------------- 22:48:09 Commited By: **** collab-it+edgex@linuxfoundation.org 22:48:09 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:48:09 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:48:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:48:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:48:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-707 [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-707 [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-707 [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcd0eefbe4e2a47357e05891bdb625cf1d17cfca [Pipeline] echo 22:48:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcd0eef [Pipeline] echo 22:48:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:48:13 provisioning config files... 22:48:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config2731508809387705576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:13 ---> docker-login.sh 22:48:13 nexus3.edgexfoundry.org:10001 22:48:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:14 Configure a credential helper to remove this warning. See 22:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:14 22:48:14 Login Succeeded 22:48:14 nexus3.edgexfoundry.org:10002 22:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:14 Configure a credential helper to remove this warning. See 22:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:14 22:48:14 Login Succeeded 22:48:14 nexus3.edgexfoundry.org:10003 22:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:15 Configure a credential helper to remove this warning. See 22:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:15 22:48:15 Login Succeeded 22:48:15 nexus3.edgexfoundry.org:10004 22:48:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:15 Configure a credential helper to remove this warning. See 22:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:15 22:48:15 Login Succeeded 22:48:15 docker.io 22:48:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:16 Configure a credential helper to remove this warning. See 22:48:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:16 22:48:16 Login Succeeded 22:48:16 ---> docker-login.sh ends [Pipeline] } 22:48:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:17 + git log --format=format:%s -1 bcd0eefbe4e2a47357e05891bdb625cf1d17cfca [Pipeline] echo 22:48:17 GIT_COMMIT: bcd0eefbe4e2a47357e05891bdb625cf1d17cfca, Commit Message: feat: SecretProvider for storing/retrieving secrets [Pipeline] echo 22:48:17 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:48:18 22:48:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:48:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:48:18 latest: Pulling from edgex-devops/git-semver 22:48:18 31603596830f: Pulling fs layer 22:48:18 2a8b12db71e7: Pulling fs layer 22:48:18 6ca5941a6612: Pulling fs layer 22:48:18 ecc8261a40a4: Pulling fs layer 22:48:18 ecc8261a40a4: Waiting 22:48:18 2a8b12db71e7: Verifying Checksum 22:48:18 2a8b12db71e7: Download complete 22:48:19 31603596830f: Verifying Checksum 22:48:19 31603596830f: Download complete 22:48:19 ecc8261a40a4: Verifying Checksum 22:48:19 ecc8261a40a4: Download complete 22:48:19 6ca5941a6612: Verifying Checksum 22:48:19 6ca5941a6612: Download complete 22:48:19 31603596830f: Pull complete 22:48:19 2a8b12db71e7: Pull complete 22:48:21 6ca5941a6612: Pull complete 22:48:21 ecc8261a40a4: Pull complete 22:48:21 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:48:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:48:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:48:21 prd-centos7-docker-4c-2g-18312 does not seem to be running inside a container 22:48:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:48:24 $ docker top 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:48:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:48:25 [ssh-agent] Looking for ssh-agent implementation... 22:48:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:48:25 $ docker exec 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 ssh-agent 22:48:25 SSH_AUTH_SOCK=/tmp/ssh-FBdo541Xdmh5/agent.11 22:48:25 SSH_AGENT_PID=17 22:48:25 Running ssh-add (command line suppressed) 22:48:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_5572003168870207442.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_5572003168870207442.key) 22:48:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:48:26 + git tag --points-at HEAD [Pipeline] } 22:48:26 $ docker exec --env ******** --env ******** 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 ssh-agent -k 22:48:26 unset SSH_AUTH_SOCK; 22:48:26 unset SSH_AGENT_PID; 22:48:26 echo Agent pid 17 killed; 22:48:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:48:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:48:26 [ssh-agent] Looking for ssh-agent implementation... 22:48:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:48:27 $ docker exec 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 ssh-agent 22:48:27 SSH_AUTH_SOCK=/tmp/ssh-hEzQMHMHhKzK/agent.45 22:48:27 SSH_AGENT_PID=51 22:48:27 Running ssh-add (command line suppressed) 22:48:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_4087856548926781114.key (/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/private_key_4087856548926781114.key) 22:48:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:48:28 + git semver init 22:48:28 # -> Open(): unable to determine branch for HEAD 22:48:28 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.git 22:48:28 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-707 22:48:28 # $SEMVER_REMOTE_NAME = origin 22:48:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:48:28 # $SEMVER_USER_NAME = edgex-jenkins 22:48:28 # $SEMVER_BRANCH = PR-707 22:48:28 # $SEMVER_TEMP = /tmp/semver-923495496 22:48:28 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:48:29 # '/tmp/semver-923495496' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver' 22:48:29 # -> Force: false 22:48:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-707/.semver [Pipeline] } 22:48:29 $ docker exec --env ******** --env ******** 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 ssh-agent -k 22:48:29 unset SSH_AUTH_SOCK; 22:48:29 unset SSH_AGENT_PID; 22:48:29 echo Agent pid 51 killed; 22:48:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:48:30 + git semver [Pipeline] } 22:48:30 $ docker stop --time=1 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 22:48:31 $ docker rm -f 3d702ed6e92bd1dcd0ab920a535a01e442b8f41c5f8d942c9f1630e3db917204 [Pipeline] // withDockerContainer [Pipeline] sh 22:48:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:48:33 Stashed 1 file(s) [Pipeline] echo 22:48:33 [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 22:48:48 Still waiting to schedule task 22:48:48 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:48:48 Still waiting to schedule task 22:48:48 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:50:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18315 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] ws 22:50:37 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 22:50:42 using credential edgex-jenkins-ssh 22:50:42 Cloning the remote Git repository 22:50:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:50:42 > git init /w/workspace/device-sdk-go/6 # timeout=10 22:50:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:50:42 > git --version # timeout=10 22:50:42 > git --version # 'git version 2.17.1' 22:50:42 using GIT_SSH to set credentials SSH Credentials for GitHub 22:50:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:50:44 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit bcd0eefbe4e2a47357e05891bdb625cf1d17cfca 22:50:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:50:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:50:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:50:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:50:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:50:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:50:44 > git config core.sparsecheckout # timeout=10 22:50:44 > git checkout -f bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 22:50:44 Merge succeeded, producing bcd0eefbe4e2a47357e05891bdb625cf1d17cfca 22:50:44 Checking out Revision bcd0eefbe4e2a47357e05891bdb625cf1d17cfca (PR-707) 22:50:44 > git remote # timeout=10 22:50:44 > git config --get remote.origin.url # timeout=10 22:50:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:50:44 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 22:50:44 > git rev-parse HEAD^{commit} # timeout=10 22:50:44 > git config core.sparsecheckout # timeout=10 22:50:44 > git checkout -f bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 22:50:49 Commit message: "feat: SecretProvider for storing/retrieving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:50:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:50:51 + sudo service docker restart 22:50:51 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:50:54 provisioning config files... 22:50:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9214098644148910937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:54 ---> docker-login.sh 22:50:54 nexus3.edgexfoundry.org:10001 22:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:56 Configure a credential helper to remove this warning. See 22:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:56 22:50:56 Login Succeeded 22:50:56 nexus3.edgexfoundry.org:10002 22:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:56 Configure a credential helper to remove this warning. See 22:50:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:56 22:50:56 Login Succeeded 22:50:56 nexus3.edgexfoundry.org:10003 22:50:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:57 Configure a credential helper to remove this warning. See 22:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:57 22:50:57 Login Succeeded 22:50:57 nexus3.edgexfoundry.org:10004 22:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:57 Configure a credential helper to remove this warning. See 22:50:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:57 22:50:57 Login Succeeded 22:50:57 docker.io 22:50:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:58 Configure a credential helper to remove this warning. See 22:50:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:58 22:50:58 Login Succeeded 22:50:58 ---> docker-login.sh ends [Pipeline] } 22:50:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:50:58 ========================================================= 22:50:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:50:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:50:59 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 22:50:59 Sending build context to Docker daemon 2.509MB 22:50:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:50:59 Step 2/8 : FROM ${BASE} 22:50:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:50:59 5f621e34cdf4: Pulling fs layer 22:50:59 a4357932f1b6: Pulling fs layer 22:50:59 18c013af1878: Pulling fs layer 22:50:59 00ac8860ef70: Pulling fs layer 22:50:59 63d7cb157983: Pulling fs layer 22:50:59 b116817d02f9: Pulling fs layer 22:50:59 745a02a5169b: Pulling fs layer 22:50:59 00ac8860ef70: Waiting 22:50:59 63d7cb157983: Waiting 22:50:59 b116817d02f9: Waiting 22:50:59 18c013af1878: Download complete 22:50:59 a4357932f1b6: Verifying Checksum 22:50:59 a4357932f1b6: Download complete 22:50:59 63d7cb157983: Verifying Checksum 22:50:59 63d7cb157983: Download complete 22:50:59 b116817d02f9: Download complete 22:50:59 5f621e34cdf4: Download complete 22:51:00 5f621e34cdf4: Pull complete 22:51:01 a4357932f1b6: Pull complete 22:51:01 18c013af1878: Pull complete 22:51:02 745a02a5169b: Verifying Checksum 22:51:02 745a02a5169b: Download complete 22:51:03 00ac8860ef70: Verifying Checksum 22:51:03 00ac8860ef70: Download complete 22:51:15 00ac8860ef70: Pull complete 22:51:15 63d7cb157983: Pull complete 22:51:15 b116817d02f9: Pull complete 22:51:18 745a02a5169b: Pull complete 22:51:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:51:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:51:18 ---> b7e6874047d6 22:51:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:51:21 ---> Running in e917092bca52 22:51:21 Removing intermediate container e917092bca52 22:51:21 ---> 73fff4755f76 22:51:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:51:21 ---> Running in 9ae3184b82c4 22:51:24 Removing intermediate container 9ae3184b82c4 22:51:24 ---> b4b23e5897d0 22:51:24 Step 5/8 : RUN apk add --update --no-cache make git 22:51:24 ---> Running in 5732f01cb0a9 22:51:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:51:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:51:27 OK: 142 MiB in 39 packages 22:51:28 Removing intermediate container 5732f01cb0a9 22:51:28 ---> 8ea5e339bafa 22:51:28 Step 6/8 : WORKDIR /device-sdk-go 22:51:28 ---> Running in 9e850b70f11d 22:51:29 Removing intermediate container 9e850b70f11d 22:51:29 ---> 9fe491e6ca8b 22:51:29 Step 7/8 : COPY . . 22:51:30 ---> 8aa8fa61c9f7 22:51:30 Step 8/8 : RUN go mod download 22:51:30 ---> Running in 786a829a4a24 22:51:53 Removing intermediate container 786a829a4a24 22:51:53 ---> 2d3f94714434 22:51:53 Successfully built 2d3f94714434 22:51:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:51:54 + docker inspect -f . ci-base-image-arm64 22:51:54 . [Pipeline] withDockerContainer 22:51:54 prd-ubuntu18.04-docker-arm64-4c-16g-18315 does not seem to be running inside a container 22:51:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:51:56 $ docker top af0eab349cdcda09ecf68a7105bd7a864898065423ac6e9d7d4a665aeea1c28d -eo pid,comm 22:51:56 Running on prd-centos7-docker-4c-2g-18318 in /w/workspace/dgexfoundry_device-sdk-go_PR-707 [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 22:51:56 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 22:51:57 + go version 22:51:57 go version go1.15.5 linux/arm64 [Pipeline] } 22:51:57 $ docker stop --time=1 af0eab349cdcda09ecf68a7105bd7a864898065423ac6e9d7d4a665aeea1c28d 22:51:58 using credential edgex-jenkins-ssh 22:51:58 Cloning the remote Git repository 22:51:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:51:59 $ docker rm -f af0eab349cdcda09ecf68a7105bd7a864898065423ac6e9d7d4a665aeea1c28d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:52:00 + docker inspect -f . ci-base-image-arm64 22:52:00 . [Pipeline] withDockerContainer 22:51:59 > git init /w/workspace/device-sdk-go/6 # timeout=10 22:51:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:51:59 > git --version # timeout=10 22:51:59 > git --version # 'git version 2.24.3' 22:51:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:51:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:51:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:51:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:51:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:51:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/707/head:refs/remotes/origin/PR-707 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:52:00 prd-ubuntu18.04-docker-arm64-4c-16g-18315 does not seem to be running inside a container 22:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:52:00 Merging remotes/origin/master commit 372098887a6a7d5d9395bdaf9d03a023308f69fd into PR head commit bcd0eefbe4e2a47357e05891bdb625cf1d17cfca 22:52:00 Merge succeeded, producing bcd0eefbe4e2a47357e05891bdb625cf1d17cfca 22:52:00 Checking out Revision bcd0eefbe4e2a47357e05891bdb625cf1d17cfca (PR-707) 22:52:00 > git config core.sparsecheckout # timeout=10 22:52:00 > git checkout -f bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 22:52:00 > git remote # timeout=10 22:52:00 > git config --get remote.origin.url # timeout=10 22:52:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:52:00 > git merge 372098887a6a7d5d9395bdaf9d03a023308f69fd # timeout=10 22:52:00 > git rev-parse HEAD^{commit} # timeout=10 22:52:00 > git config core.sparsecheckout # timeout=10 22:52:00 > git checkout -f bcd0eefbe4e2a47357e05891bdb625cf1d17cfca # timeout=10 22:52:01 $ docker top 7cb3f6901853fec7b08d1ee11f4a48910ac979c5a112f2e652c75606ac7d082b -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:02 + make test 22:52:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:52:04 Commit message: "feat: SecretProvider for storing/retrieving secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:05 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:52:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:52:06 + sudo service docker restart 22:52:06 + true 22:52:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:52:07 provisioning config files... 22:52:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config5570751367808954580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:07 ---> docker-login.sh 22:52:07 nexus3.edgexfoundry.org:10001 22:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:07 Configure a credential helper to remove this warning. See 22:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:07 22:52:07 Login Succeeded 22:52:07 nexus3.edgexfoundry.org:10002 22:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:08 Configure a credential helper to remove this warning. See 22:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:08 22:52:08 Login Succeeded 22:52:08 nexus3.edgexfoundry.org:10003 22:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:08 Configure a credential helper to remove this warning. See 22:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:08 22:52:08 Login Succeeded 22:52:08 nexus3.edgexfoundry.org:10004 22:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:08 Configure a credential helper to remove this warning. See 22:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:08 22:52:08 Login Succeeded 22:52:08 docker.io 22:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:08 Configure a credential helper to remove this warning. See 22:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:08 22:52:08 Login Succeeded 22:52:08 ---> docker-login.sh ends [Pipeline] } 22:52:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:52:09 ========================================================= 22:52:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:52:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:52:09 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 22:52:09 Sending build context to Docker daemon 2.51MB 22:52:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:52:09 Step 2/8 : FROM ${BASE} 22:52:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:52:09 188c0c94c7c5: Pulling fs layer 22:52:09 0ef7d3d256c8: Pulling fs layer 22:52:09 de9db76c5a1d: Pulling fs layer 22:52:09 bca2f99d35d6: Pulling fs layer 22:52:09 93359f2a8cfa: Pulling fs layer 22:52:09 7c6f9722023f: Pulling fs layer 22:52:09 a35cf1a2eb13: Pulling fs layer 22:52:09 bca2f99d35d6: Waiting 22:52:09 93359f2a8cfa: Waiting 22:52:09 a35cf1a2eb13: Waiting 22:52:09 7c6f9722023f: Waiting 22:52:09 de9db76c5a1d: Verifying Checksum 22:52:09 de9db76c5a1d: Download complete 22:52:09 0ef7d3d256c8: Download complete 22:52:09 93359f2a8cfa: Verifying Checksum 22:52:09 93359f2a8cfa: Download complete 22:52:09 7c6f9722023f: Verifying Checksum 22:52:09 7c6f9722023f: Download complete 22:52:09 188c0c94c7c5: Verifying Checksum 22:52:09 188c0c94c7c5: Download complete 22:52:10 188c0c94c7c5: Pull complete 22:52:10 0ef7d3d256c8: Pull complete 22:52:10 de9db76c5a1d: Pull complete 22:52:12 a35cf1a2eb13: Verifying Checksum 22:52:12 a35cf1a2eb13: Download complete 22:52:13 bca2f99d35d6: Verifying Checksum 22:52:13 bca2f99d35d6: Download complete 22:52:19 bca2f99d35d6: Pull complete 22:52:19 93359f2a8cfa: Pull complete 22:52:19 7c6f9722023f: Pull complete 22:52:23 a35cf1a2eb13: Pull complete 22:52:23 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:52:23 ---> a62c8e92a672 22:52:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:52:23 ---> Running in df86748a570d 22:52:23 Removing intermediate container df86748a570d 22:52:23 ---> c41ff4385284 22:52:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:23 ---> Running in 635f99ed7634 22:52:24 Removing intermediate container 635f99ed7634 22:52:24 ---> b58094e981d6 22:52:24 Step 5/8 : RUN apk add --update --no-cache make git 22:52:24 ---> Running in 603fdb563633 22:52:25 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:52:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:52:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:52:27 OK: 166 MiB in 39 packages 22:52:28 Removing intermediate container 603fdb563633 22:52:28 ---> 38b0cdf08743 22:52:28 Step 6/8 : WORKDIR /device-sdk-go 22:52:28 ---> Running in ba9f82bb4e39 22:52:28 Removing intermediate container ba9f82bb4e39 22:52:28 ---> a2c246eba4b5 22:52:28 Step 7/8 : COPY . . 22:52:29 ---> d92848a5a34e 22:52:29 Step 8/8 : RUN go mod download 22:52:29 ---> Running in 9189c7afcf4e 22:52:47 Removing intermediate container 9189c7afcf4e 22:52:47 ---> fdc492e91149 22:52:47 Successfully built fdc492e91149 22:52:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:52:48 + docker inspect -f . ci-base-image-x86_64 22:52:48 . [Pipeline] withDockerContainer 22:52:48 prd-centos7-docker-4c-2g-18318 does not seem to be running inside a container 22:52:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:52:50 $ docker top f039fbf8c73da35cb71e0520439791313de8ee7c1ff696c1679f72220d2909fd -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:50 + go version 22:52:50 go version go1.15.5 linux/amd64 [Pipeline] } 22:52:50 $ docker stop --time=1 f039fbf8c73da35cb71e0520439791313de8ee7c1ff696c1679f72220d2909fd 22:52:51 $ docker rm -f f039fbf8c73da35cb71e0520439791313de8ee7c1ff696c1679f72220d2909fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:52:52 + docker inspect -f . ci-base-image-x86_64 22:52:52 . [Pipeline] withDockerContainer 22:52:53 prd-centos7-docker-4c-2g-18318 does not seem to be running inside a container 22:52:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:52:53 $ docker top bdda7fe0428a657626309090fa07a39b943cee215d0095d23478d3ed958eb193 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:54 + make test 22:52:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:53:00 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:53:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:53:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:53:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:53:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 19.4% of statements 22:53:09 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.234s coverage: 97.1% of statements 22:53:15 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:53:15 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:53:15 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:53:15 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 19.4% of statements 22:53:19 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.524s coverage: 97.1% of statements 22:53:36 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.108s coverage: 9.4% of statements 22:53:36 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.137s coverage: 21.7% of statements 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:53:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.604s coverage: 42.5% of statements 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:53:36 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.709s coverage: 68.9% of statements 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:53:36 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.210s coverage: 53.8% of statements 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 22:53:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 22:53:36 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.064s coverage: 68.9% of statements 22:53:36 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.131s coverage: 4.2% of statements 22:53:36 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:53:36 GO111MODULE=on go vet ./... 22:53:51 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements 22:53:51 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.064s coverage: 21.7% of statements 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:53:51 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.227s coverage: 42.5% of statements 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:53:51 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.291s coverage: 68.9% of statements 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:53:51 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.077s coverage: 53.8% of statements 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 22:53:51 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 22:53:51 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.495s coverage: 68.9% of statements 22:53:51 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements 22:53:51 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:53:51 GO111MODULE=on go vet ./... 22:53:56 gofmt -l . 22:53:56 [ "`gofmt -l .`" = "" ] 22:53:56 ./bin/test-attribution-txt.sh 22:53:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:53:57 $ docker stop --time=1 bdda7fe0428a657626309090fa07a39b943cee215d0095d23478d3ed958eb193 22:53:58 $ docker rm -f bdda7fe0428a657626309090fa07a39b943cee215d0095d23478d3ed958eb193 [Pipeline] // withDockerContainer [Pipeline] sh 22:53:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:54:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:54:04 + ls -al . 22:54:04 total 208 22:54:04 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 4 22:53 . 22:54:04 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 22:51 .. 22:54:04 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 22:52 bin 22:54:04 -rw-r--r--. 1 jenkins jenkins 130606 Jan 4 22:53 coverage.out 22:54:04 -rw-rw-r--. 1 jenkins jenkins 949 Jan 4 22:52 Dockerfile.build 22:54:04 -rw-rw-r--. 1 jenkins jenkins 140 Jan 4 22:52 .dockerignore 22:54:04 drwxrwxr-x. 4 jenkins jenkins 48 Jan 4 22:52 example 22:54:04 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 22:52 .git 22:54:04 drwxrwxr-x. 2 jenkins jenkins 103 Jan 4 22:52 .github 22:54:04 -rw-rw-r--. 1 jenkins jenkins 138 Jan 4 22:52 .gitignore 22:54:04 -rw-r--r--. 1 jenkins jenkins 488 Jan 4 22:53 go.mod 22:54:04 -rw-r--r--. 1 jenkins jenkins 13929 Jan 4 22:53 go.sum 22:54:04 drwxrwxr-x. 15 jenkins jenkins 211 Jan 4 22:52 internal 22:54:04 -rw-rw-r--. 1 jenkins jenkins 901 Jan 4 22:52 Jenkinsfile 22:54:04 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 4 22:52 LICENSE 22:54:04 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 4 22:52 Makefile 22:54:04 drwxrwxr-x. 4 jenkins jenkins 26 Jan 4 22:52 openapi 22:54:04 drwxrwxr-x. 5 jenkins jenkins 50 Jan 4 22:52 pkg 22:54:04 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 4 22:52 README.md 22:54:04 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 4 22:52 RELEASE-NOTES.txt 22:54:04 drwxrwxr-x. 4 jenkins jenkins 54 Jan 4 22:52 snap 22:54:04 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 22:48 VERSION 22:54:04 -rw-rw-r--. 1 jenkins jenkins 222 Jan 4 22:52 version.go [Pipeline] isUnix [Pipeline] sh 22:54:04 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=bcd0eefbe4e2a47357e05891bdb625cf1d17cfca --label arch=amd64 --label version=0.0.0 . 22:54:05 Sending build context to Docker daemon 2.641MB 22:54:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 22:54:05 Step 2/24 : FROM ${BASE} AS builder 22:54:05 ---> fdc492e91149 22:54:05 Step 3/24 : ARG MAKE='make build' 22:54:05 ---> Running in 6d8dbac1f858 22:54:06 Removing intermediate container 6d8dbac1f858 22:54:06 ---> 65f6fe989f27 22:54:06 Step 4/24 : WORKDIR /device-sdk-go 22:54:06 ---> Running in be3aa7711458 22:54:06 Removing intermediate container be3aa7711458 22:54:06 ---> f90f1817c242 22:54:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:06 ---> Running in 122ac512dad2 22:54:06 Removing intermediate container 122ac512dad2 22:54:06 ---> 846cd92079eb 22:54:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:06 ---> Running in 6133e7625bd6 22:54:07 Removing intermediate container 6133e7625bd6 22:54:07 ---> 3ce236f1fca7 22:54:07 Step 7/24 : RUN apk add --update --no-cache make git 22:54:07 ---> Running in 7670204a4eaa 22:54:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:54:09 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:54:09 gofmt -l . 22:54:09 [ "`gofmt -l .`" = "" ] 22:54:09 ./bin/test-attribution-txt.sh 22:54:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:54:09 $ docker stop --time=1 7cb3f6901853fec7b08d1ee11f4a48910ac979c5a112f2e652c75606ac7d082b 22:54:10 OK: 166 MiB in 39 packages 22:54:10 Removing intermediate container 7670204a4eaa 22:54:10 ---> 42d008bfb4cf 22:54:10 Step 8/24 : COPY . . 22:54:11 ---> e19c7d5d0dbb 22:54:11 Step 9/24 : RUN ${MAKE} 22:54:11 ---> Running in 33777ef09814 22:54:11 $ docker rm -f 7cb3f6901853fec7b08d1ee11f4a48910ac979c5a112f2e652c75606ac7d082b 22:54:11 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] // withDockerContainer [Pipeline] sh 22:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:54:12 Warning: overwriting stash ‘coverage-report’ 22:54:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:54:15 + ls -al . 22:54:15 total 244 22:54:15 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 22:54 . 22:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 22:50 .. 22:54:15 -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 22:50 .dockerignore 22:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 22:50 .git 22:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 22:50 .github 22:54:15 -rw-rw-r-- 1 jenkins jenkins 138 Jan 4 22:50 .gitignore 22:54:15 -rw-rw-r-- 1 jenkins jenkins 949 Jan 4 22:50 Dockerfile.build 22:54:15 -rw-rw-r-- 1 jenkins jenkins 901 Jan 4 22:50 Jenkinsfile 22:54:15 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 4 22:50 LICENSE 22:54:15 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 4 22:50 Makefile 22:54:15 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 4 22:50 README.md 22:54:15 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 4 22:50 RELEASE-NOTES.txt 22:54:15 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 22:48 VERSION 22:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 22:50 bin 22:54:15 -rw-r--r-- 1 jenkins jenkins 130605 Jan 4 22:53 coverage.out 22:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 22:50 example 22:54:15 -rw-r--r-- 1 jenkins jenkins 488 Jan 4 22:54 go.mod 22:54:15 -rw-r--r-- 1 jenkins jenkins 13929 Jan 4 22:54 go.sum 22:54:15 drwxrwxr-x 15 jenkins jenkins 4096 Jan 4 22:50 internal 22:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 22:50 openapi 22:54:15 drwxrwxr-x 5 jenkins jenkins 4096 Jan 4 22:50 pkg 22:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 22:50 snap 22:54:15 -rw-rw-r-- 1 jenkins jenkins 222 Jan 4 22:50 version.go [Pipeline] isUnix [Pipeline] sh 22:54:15 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bcd0eefbe4e2a47357e05891bdb625cf1d17cfca --label arch=arm64 --label version=0.0.0 . 22:54:16 Sending build context to Docker daemon 2.64MB 22:54:16 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 22:54:16 Step 2/24 : FROM ${BASE} AS builder 22:54:16 ---> 2d3f94714434 22:54:16 Step 3/24 : ARG MAKE='make build' 22:54:16 ---> Running in ab09889420dd 22:54:16 Removing intermediate container ab09889420dd 22:54:16 ---> d52f24611389 22:54:16 Step 4/24 : WORKDIR /device-sdk-go 22:54:16 ---> Running in bf2441fdd51b 22:54:17 Removing intermediate container bf2441fdd51b 22:54:17 ---> 732aca033afd 22:54:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:17 ---> Running in 31a3cfe6d5b3 22:54:18 Removing intermediate container 31a3cfe6d5b3 22:54:18 ---> e3768aaf3933 22:54:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:54:18 ---> Running in 1fcc43298dd3 22:54:20 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:54:20 Removing intermediate container 1fcc43298dd3 22:54:20 ---> 912d800fb1eb 22:54:20 Step 7/24 : RUN apk add --update --no-cache make git 22:54:20 ---> Running in 30b0712a74a9 22:54:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:54:22 Removing intermediate container 33777ef09814 22:54:22 ---> 62df7280cc2c 22:54:22 Step 10/24 : FROM scratch 22:54:22 ---> 22:54:22 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:22 ---> Running in 3396c2311027 22:54:22 Removing intermediate container 3396c2311027 22:54:22 ---> df0f9b3a254c 22:54:22 Step 12/24 : ENV APP_PORT=49990 22:54:22 ---> Running in b0adde5e8e3b 22:54:22 Removing intermediate container b0adde5e8e3b 22:54:22 ---> 7dfdf854ab9b 22:54:22 Step 13/24 : EXPOSE $APP_PORT 22:54:22 ---> Running in 48ec54ad23ad 22:54:22 Removing intermediate container 48ec54ad23ad 22:54:22 ---> 6b94b9114fb2 22:54:22 Step 14/24 : WORKDIR / 22:54:22 ---> Running in 66628a77684d 22:54:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:54:22 Removing intermediate container 66628a77684d 22:54:22 ---> 46605939d9a0 22:54:22 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:54:23 ---> 2df0e5c8a931 22:54:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:54:23 ---> 7820fcfeefe1 22:54:23 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:54:23 OK: 142 MiB in 39 packages 22:54:23 ---> a99ce582d45b 22:54:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:54:24 ---> 7e6cf2a79180 22:54:24 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:54:24 ---> 6ed25741e22c 22:54:24 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:54:24 ---> Running in 07262347a4dc 22:54:24 Removing intermediate container 07262347a4dc 22:54:24 ---> 6ccbec9bf2f7 22:54:24 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:54:24 ---> Running in 72f3127ab336 22:54:24 Removing intermediate container 72f3127ab336 22:54:24 ---> f7dd4923a9c6 22:54:24 Step 22/24 : LABEL arch=amd64 22:54:24 Removing intermediate container 30b0712a74a9 22:54:24 ---> 84a04fbc06d3 22:54:24 Step 8/24 : COPY . . 22:54:24 ---> Running in 0e7508142bd6 22:54:24 Removing intermediate container 0e7508142bd6 22:54:24 ---> 0f8a1badfc7b 22:54:24 Step 23/24 : LABEL git_sha=bcd0eefbe4e2a47357e05891bdb625cf1d17cfca 22:54:25 ---> Running in 0323e93fc925 22:54:25 Removing intermediate container 0323e93fc925 22:54:25 ---> fe38ac6f8ef1 22:54:25 Step 24/24 : LABEL version=0.0.0 22:54:25 ---> Running in ae9edc559336 22:54:25 Removing intermediate container ae9edc559336 22:54:25 ---> 019953a06e7a 22:54:25 [Warning] One or more build-args [ARCH] were not consumed 22:54:25 Successfully built 019953a06e7a 22:54:25 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } 22:54:26 ---> f14c2f887065 22:54:26 Step 9/24 : RUN ${MAKE} [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 22:54:26 ---> Running in 846c0c58ee9e [Pipeline] // stage [Pipeline] } 22:54:27 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 22:54:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:54:54 Removing intermediate container 846c0c58ee9e 22:54:54 ---> 9f4d777d388e 22:54:54 Step 10/24 : FROM scratch 22:54:54 ---> 22:54:54 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:54:54 ---> Running in 5882faada09d 22:54:55 Removing intermediate container 5882faada09d 22:54:55 ---> c871de7d04fd 22:54:55 Step 12/24 : ENV APP_PORT=49990 22:54:55 ---> Running in b1bde7c9ce51 22:54:55 Removing intermediate container b1bde7c9ce51 22:54:55 ---> 2c2ab7a852a0 22:54:55 Step 13/24 : EXPOSE $APP_PORT 22:54:55 ---> Running in 5c0e699b009e 22:54:55 Removing intermediate container 5c0e699b009e 22:54:55 ---> e5f6ad9242e3 22:54:55 Step 14/24 : WORKDIR / 22:54:56 ---> Running in 0d73699cb583 22:54:56 Removing intermediate container 0d73699cb583 22:54:56 ---> 2f01189b1747 22:54:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:54:57 ---> 9c5d3b9167e3 22:54:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:54:58 ---> bf56ded5f3eb 22:54:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:54:59 ---> 65f0a730aa42 22:54:59 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:54:59 ---> f7d0e87ba07b 22:54:59 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:55:00 ---> e7d5aa25c05a 22:55:00 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:55:00 ---> Running in f6f72864812e 22:55:00 Removing intermediate container f6f72864812e 22:55:00 ---> e626c349ef20 22:55:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:55:01 ---> Running in 7f6f0bbdce5b 22:55:01 Removing intermediate container 7f6f0bbdce5b 22:55:01 ---> 8a609b8fea83 22:55:01 Step 22/24 : LABEL arch=arm64 22:55:01 ---> Running in d9af768339f6 22:55:01 Removing intermediate container d9af768339f6 22:55:01 ---> 357fb16d4d78 22:55:01 Step 23/24 : LABEL git_sha=bcd0eefbe4e2a47357e05891bdb625cf1d17cfca 22:55:02 ---> Running in 18bb1b3dccf1 22:55:02 Removing intermediate container 18bb1b3dccf1 22:55:02 ---> 0db31e93bf6e 22:55:02 Step 24/24 : LABEL version=0.0.0 22:55:02 ---> Running in b19616dfc3c9 22:55:03 Removing intermediate container b19616dfc3c9 22:55:03 ---> 3bcb4ba86bf7 22:55:03 [Warning] One or more build-args [ARCH] were not consumed 22:55:03 Successfully built 3bcb4ba86bf7 22:55:03 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 22:55:05 provisioning config files... 22:55:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config3223581626877113803tmp [Pipeline] { [Pipeline] sh 22:55:05 + set +x 22:55:05 + curl -s https://codecov.io/bash 22:55:05 + bash -s -- 22:55:05 22:55:05 _____ _ 22:55:05 / ____| | | 22:55:05 | | ___ __| | ___ ___ _____ __ 22:55:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:55:05 | |___| (_) | (_| | __/ (_| (_) \ V / 22:55:05 \_____\___/ \__,_|\___|\___\___/ \_/ 22:55:05 Bash-20201231-23d4836 22:55:05 22:55:05 22:55:05 ==> git version 2.24.3 found 22:55:05 ==> 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 22:55:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:55:05 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:55:05 ==> Jenkins CI detected. 22:55:05 project root: . 22:55:05 --> token set from env 22:55:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:55:06 ==> Running gcov in . (disable via -X gcov) 22:55:06 ==> Python coveragepy not found 22:55:06 ==> Searching for coverage reports in: 22:55:06 + . 22:55:06 -> Found 1 reports 22:55:06 ==> Detecting git/mercurial file structure 22:55:06 ==> Reading reports 22:55:06 + ./coverage.out bytes=130605 22:55:06 ==> Appending adjustments 22:55:06 https://docs.codecov.io/docs/fixing-reports 22:55:07 + Found adjustments 22:55:07 ==> Gzipping contents 22:55:07 24K /tmp/codecov.mYtHDQ.gz 22:55:07 ==> Uploading reports 22:55:07 url: https://codecov.io 22:55:07 query: branch=PR-707&commit=bcd0eefbe4e2a47357e05891bdb625cf1d17cfca&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 22:55:07 -> Pinging Codecov 22:55:07 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-707&commit=bcd0eefbe4e2a47357e05891bdb625cf1d17cfca&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-707%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=707&job=&cmd_args= 22:55:07 -> Uploading to 22:55:07 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/7E55EF52A471D76F132DFD9A03CDDE97/bcd0eefbe4e2a47357e05891bdb625cf1d17cfca/05889333-59e0-486b-aa7e-334431649fa8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T225507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79e6ff1e85377f4ed4ba467fd92beaffc681e83526d49b596e555c1b632e3abf 22:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:07 Dload Upload Total Spent Left Speed 22:55:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21261 0 0 100 21261 0 44144 --:--:-- --:--:-- --:--:-- 44201 22:55:08 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bcd0eefbe4e2a47357e05891bdb625cf1d17cfca [Pipeline] } 22:55:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 22:55:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:55:11 ---> package-listing.sh 22:55:11 ++ tr '[:upper:]' '[:lower:]' 22:55:11 ++ facter osfamily 22:55:11 + OS_FAMILY=redhat 22:55:11 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-707 22:55:11 + START_PACKAGES=/tmp/packages_start.txt 22:55:11 + END_PACKAGES=/tmp/packages_end.txt 22:55:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:55:11 + PACKAGES=/tmp/packages_start.txt 22:55:11 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 22:55:11 + PACKAGES=/tmp/packages_end.txt 22:55:11 + case "${OS_FAMILY}" in 22:55:11 + rpm -qa 22:55:11 + sort 22:55:18 + '[' -f /tmp/packages_start.txt ']' 22:55:18 + '[' -f /tmp/packages_end.txt ']' 22:55:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:55:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-707 ']' 22:55:18 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ 22:55:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-707/archives/ [Pipeline] echo 22:55:18 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-707/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:55:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:55:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:55:19 22:55:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:55:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:55:20 alpine: Pulling from edgex-lftools-log-publisher 22:55:20 df20fa9351a1: Pulling fs layer 22:55:20 36b3adc4ff6f: Pulling fs layer 22:55:20 8ad3a11d3b57: Pulling fs layer 22:55:20 46f8f816bc3b: Pulling fs layer 22:55:20 93b61091891f: Pulling fs layer 22:55:20 93b9cdb0e59b: Pulling fs layer 22:55:20 5e14af77c1be: Pulling fs layer 22:55:20 01666e4c0597: Pulling fs layer 22:55:20 aa168da1d23b: Pulling fs layer 22:55:20 46f8f816bc3b: Waiting 22:55:20 93b61091891f: Waiting 22:55:20 93b9cdb0e59b: Waiting 22:55:20 aa168da1d23b: Waiting 22:55:20 5e14af77c1be: Waiting 22:55:20 01666e4c0597: Waiting 22:55:20 36b3adc4ff6f: Verifying Checksum 22:55:20 36b3adc4ff6f: Download complete 22:55:20 46f8f816bc3b: Download complete 22:55:20 df20fa9351a1: Verifying Checksum 22:55:20 df20fa9351a1: Download complete 22:55:20 93b9cdb0e59b: Verifying Checksum 22:55:20 93b9cdb0e59b: Download complete 22:55:20 5e14af77c1be: Verifying Checksum 22:55:20 5e14af77c1be: Download complete 22:55:20 01666e4c0597: Verifying Checksum 22:55:20 01666e4c0597: Download complete 22:55:20 93b61091891f: Verifying Checksum 22:55:20 93b61091891f: Download complete 22:55:21 df20fa9351a1: Pull complete 22:55:21 8ad3a11d3b57: Verifying Checksum 22:55:21 8ad3a11d3b57: Download complete 22:55:21 36b3adc4ff6f: Pull complete 22:55:23 8ad3a11d3b57: Pull complete 22:55:23 46f8f816bc3b: Pull complete 22:55:24 93b61091891f: Pull complete 22:55:25 93b9cdb0e59b: Pull complete 22:55:26 5e14af77c1be: Pull complete 22:55:26 01666e4c0597: Pull complete 22:55:26 aa168da1d23b: Verifying Checksum 22:55:26 aa168da1d23b: Download complete 22:55:42 aa168da1d23b: Pull complete 22:55:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:55:42 prd-centos7-docker-4c-2g-18312 does not seem to be running inside a container 22:55:42 $ 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-707/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-707 -v /w/workspace/dgexfoundry_device-sdk-go_PR-707:/w/workspace/dgexfoundry_device-sdk-go_PR-707:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:55:47 $ docker top 7a9e1ecabbc335b0694ef6b460a66d05e62a4263dab87ca6a163157ebcdacbce -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:47 + touch /tmp/pre-build-complete [Pipeline] sh 22:55:48 + mkdir -p /var/log/sa [Pipeline] sh 22:55:48 + ls /var/log/sa-host 22:55:48 + sadf -c /var/log/sa-host/sa04 22:55:48 file_magic: OK 22:55:48 HZ: Using current value: 100 22:55:48 file_header: OK 22:55:48 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 22:55:48 Statistics: 22:55:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:55:48 File successfully converted to sysstat format version 12.2.1 22:55:48 + sadf -c /var/log/sa-host/sa23 22:55:48 file_magic: OK 22:55:48 HZ: Using current value: 100 22:55:48 file_header: OK 22:55:48 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 22:55:48 Statistics: 22:55:48 Hnuu...uuuununununu... 22:55:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:49 provisioning config files... 22:55:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp/config1035561203113409916tmp [Pipeline] { [Pipeline] echo 22:55:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:55:49 ---> create-netrc.sh [Pipeline] } 22:55:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:55:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:55:49 ---> python-tools-install.sh [Pipeline] echo 22:55:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:55:50 ---> sudo-logs.sh 22:55:50 Archiving 'sudo' log.. [Pipeline] echo 22:55:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:55:51 ---> job-cost.sh 22:55:51 lf-activate-venv: SKIPPING 22:55:51 INFO: No Stack... 22:55:52 INFO: Retrieving Pricing Info for: v1-standard-2 22:55:52 INFO: Archiving Costs [Pipeline] echo 22:55:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:55:53 ---> logs-deploy.sh 22:55:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-707/6 22:55:53 INFO: archiving workspace using pattern(s): 22:55:56 Archives upload complete. 22:55:56 INFO: archiving logs to Nexus 22:55:57 ---> uname -a: 22:55:57 Linux prd-centos7-docker-4c-2g-18312.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 22:55:57 22:55:57 22:55:57 ---> lscpu: 22:55:57 Architecture: x86_64 22:55:57 CPU op-mode(s): 32-bit, 64-bit 22:55:57 Byte Order: Little Endian 22:55:57 Address sizes: 40 bits physical, 48 bits virtual 22:55:57 CPU(s): 4 22:55:57 On-line CPU(s) list: 0-3 22:55:57 Thread(s) per core: 1 22:55:57 Core(s) per socket: 1 22:55:57 Socket(s): 4 22:55:57 NUMA node(s): 1 22:55:57 Vendor ID: GenuineIntel 22:55:57 CPU family: 6 22:55:57 Model: 44 22:55:57 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:55:57 Stepping: 1 22:55:57 CPU MHz: 2933.438 22:55:57 BogoMIPS: 5866.87 22:55:57 Virtualization: VT-x 22:55:57 Hypervisor vendor: KVM 22:55:57 Virtualization type: full 22:55:57 L1d cache: 128 KiB 22:55:57 L1i cache: 128 KiB 22:55:57 L2 cache: 16 MiB 22:55:57 L3 cache: 64 MiB 22:55:57 NUMA node0 CPU(s): 0-3 22:55:57 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:55:57 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:55:57 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:55:57 Vulnerability Meltdown: Mitigation; PTI 22:55:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:55:57 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:55:57 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:55:57 Vulnerability Srbds: Not affected 22:55:57 Vulnerability Tsx async abort: Not affected 22:55:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 22:55:57 22:55:57 22:55:57 ---> nproc: 22:55:57 4 22:55:57 22:55:57 22:55:57 ---> df -h: 22:55:57 Filesystem Size Used Available Use% Mounted on 22:55:57 overlay 50.0G 7.3G 42.7G 15% / 22:55:57 tmpfs 64.0M 0 64.0M 0% /dev 22:55:57 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:55:57 shm 64.0M 0 64.0M 0% /dev/shm 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-707@tmp 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:55:57 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:55:57 22:55:57 22:55:57 ---> free -m: 22:55:57 total used free shared buff/cache available 22:55:57 Mem: 1837 669 113 0 1054 1064 22:55:57 Swap: 1023 1 1022 22:55:57 22:55:57 22:55:57 ---> ip addr: 22:55:57 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:55:57 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:55:57 inet 127.0.0.1/8 scope host lo 22:55:57 valid_lft forever preferred_lft forever 22:55:57 inet6 ::1/128 scope host 22:55:57 valid_lft forever preferred_lft forever 22:55:57 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:55:57 link/ether fa:16:3e:58:1d:69 brd ff:ff:ff:ff:ff:ff 22:55:57 inet 10.30.123.57/23 brd 10.30.123.255 scope global dynamic eth0 22:55:57 valid_lft 85880sec preferred_lft 85880sec 22:55:57 inet6 fe80::f816:3eff:fe58:1d69/64 scope link 22:55:57 valid_lft forever preferred_lft forever 22:55:57 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:55:57 link/ether 02:42:57:e5:59:fb brd ff:ff:ff:ff:ff:ff 22:55:57 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:55:57 valid_lft forever preferred_lft forever 22:55:57 inet6 fe80::42:57ff:fee5:59fb/64 scope link 22:55:57 valid_lft forever preferred_lft forever 22:55:57 22:55:57 22:55:57 ---> sar -b -r -n DEV: 22:55:57 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 22:55:57 22:55:57 22:47:04 LINUX RESTART (4 CPU) 22:55:57 22:55:57 22:48:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:55:57 22:49:01 46.44 11.52 34.92 0.00 4324.84 2595.93 0.00 22:55:57 22:50:01 1.68 0.00 1.68 0.00 0.00 37.22 0.00 22:55:57 22:51:02 0.33 0.00 0.33 0.00 0.00 6.09 0.00 22:55:57 22:52:01 0.24 0.00 0.24 0.00 0.00 2.93 0.00 22:55:57 22:53:01 0.25 0.00 0.25 0.00 0.00 3.25 0.00 22:55:57 22:54:01 0.33 0.00 0.33 0.00 0.00 4.19 0.00 22:55:57 22:55:01 0.20 0.00 0.20 0.00 0.00 1.88 0.00 22:55:57 Average: 7.09 1.65 5.44 0.00 619.82 379.99 0.00 22:55:57 22:55:57 22:48:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:55:57 22:49:01 163432 0 565024 30.03 2620 1150468 1127868 38.49 418636 1098360 20 22:55:57 22:50:01 172188 0 556260 29.56 2620 1150476 1059364 36.15 422448 1087416 12 22:55:57 22:51:02 171936 0 556508 29.58 2620 1150480 1059484 36.16 418268 1092392 20 22:55:57 22:52:01 169112 0 559332 29.73 2620 1150480 1059632 36.16 426240 1086944 16 22:55:57 22:53:01 167876 0 560560 29.79 2620 1150488 1059500 36.16 427332 1087208 16 22:55:57 22:54:01 167836 0 560596 29.79 2620 1150492 1059512 36.16 428556 1086216 8 22:55:57 22:55:01 168480 0 559948 29.76 2620 1150496 1059428 36.16 427976 1086212 8 22:55:57 Average: 168694 0 559747 29.75 2620 1150483 1069255 36.49 424208 1089250 14 22:55:57 22:55:57 22:48:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:55:57 22:49:01 eth0 103.74 84.47 472.17 47.68 0.00 0.00 0.00 0.00 22:55:57 22:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:49:01 docker0 8.51 5.97 1.36 20.75 0.00 0.00 0.00 0.00 22:55:57 22:50:01 eth0 0.87 0.13 0.07 0.04 0.00 0.00 0.00 0.00 22:55:57 22:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:51:02 eth0 1.95 0.40 0.49 0.26 0.00 0.00 0.00 0.00 22:55:57 22:51:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:51:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:52:01 eth0 1.64 0.61 0.71 0.37 0.00 0.00 0.00 0.00 22:55:57 22:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:53:01 eth0 0.23 0.10 0.08 0.10 0.00 0.00 0.00 0.00 22:55:57 22:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:54:01 eth0 0.28 0.10 0.07 0.01 0.00 0.00 0.00 0.00 22:55:57 22:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:55:01 eth0 0.70 0.10 0.06 0.01 0.00 0.00 0.00 0.00 22:55:57 22:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 22:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 Average: eth0 15.68 12.31 67.88 6.94 0.00 0.00 0.00 0.00 22:55:57 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:55:57 Average: docker0 1.22 0.86 0.19 2.97 0.00 0.00 0.00 0.00 22:55:57 22:55:57 22:55:57 ---> sar -P ALL: 22:55:57 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/04/21 _x86_64_ (4 CPU) 22:55:57 22:55:57 22:47:04 LINUX RESTART (4 CPU) 22:55:57 22:55:57 22:48:01 CPU %user %nice %system %iowait %steal %idle 22:55:57 22:49:01 all 3.28 0.00 2.46 1.21 5.78 87.28 22:55:57 22:49:01 0 3.82 0.00 2.54 2.07 6.24 85.33 22:55:57 22:49:01 1 2.72 0.00 2.56 1.85 5.83 87.04 22:55:57 22:49:01 2 2.98 0.00 2.63 0.60 5.54 88.25 22:55:57 22:49:01 3 3.60 0.00 2.09 0.30 5.51 88.49 22:55:57 22:50:01 all 0.12 0.00 0.10 0.00 0.36 99.41 22:55:57 22:50:01 0 0.35 0.00 0.10 0.00 0.48 99.07 22:55:57 22:50:01 1 0.02 0.00 0.12 0.00 0.32 99.55 22:55:57 22:50:01 2 0.05 0.00 0.13 0.02 0.22 99.58 22:55:57 22:50:01 3 0.07 0.00 0.07 0.00 0.43 99.43 22:55:57 22:51:02 all 0.12 0.00 0.14 0.00 0.64 99.10 22:55:57 22:51:02 0 0.13 0.00 0.13 0.00 0.71 99.02 22:55:57 22:51:02 1 0.03 0.00 0.05 0.00 0.65 99.27 22:55:57 22:51:02 2 0.12 0.00 0.22 0.00 0.63 99.04 22:55:57 22:51:02 3 0.18 0.00 0.17 0.00 0.56 99.09 22:55:57 22:52:01 all 0.09 0.00 0.04 0.00 0.32 99.55 22:55:57 22:52:01 0 0.07 0.00 0.03 0.00 0.29 99.61 22:55:57 22:52:01 1 0.15 0.00 0.00 0.00 0.39 99.46 22:55:57 22:52:01 2 0.07 0.00 0.10 0.00 0.29 99.54 22:55:57 22:52:01 3 0.07 0.00 0.02 0.00 0.32 99.59 22:55:57 22:53:01 all 0.10 0.00 0.17 0.00 0.66 99.07 22:55:57 22:53:01 0 0.13 0.00 0.13 0.00 0.52 99.22 22:55:57 22:53:01 1 0.22 0.00 0.13 0.00 0.89 98.76 22:55:57 22:53:01 2 0.03 0.00 0.30 0.00 0.58 99.09 22:55:57 22:53:01 3 0.03 0.00 0.12 0.00 0.65 99.20 22:55:57 22:54:01 all 0.10 0.00 0.03 0.00 0.25 99.61 22:55:57 22:54:01 0 0.08 0.00 0.03 0.00 0.10 99.78 22:55:57 22:54:01 1 0.25 0.00 0.03 0.00 0.32 99.40 22:55:57 22:54:01 2 0.07 0.00 0.05 0.00 0.42 99.47 22:55:57 22:54:01 3 0.02 0.00 0.02 0.00 0.18 99.78 22:55:57 22:55:01 all 0.10 0.00 0.04 0.00 0.36 99.49 22:55:57 22:55:01 0 0.00 0.00 0.03 0.02 0.15 99.80 22:55:57 22:55:01 1 0.30 0.00 0.02 0.00 0.28 99.40 22:55:57 22:55:01 2 0.07 0.00 0.05 0.00 0.70 99.19 22:55:57 22:55:01 3 0.05 0.00 0.07 0.00 0.32 99.57 22:55:57 Average: all 0.56 0.00 0.43 0.17 1.20 97.64 22:55:57 Average: 0 0.66 0.00 0.43 0.30 1.21 97.41 22:55:57 Average: 1 0.53 0.00 0.42 0.27 1.25 97.54 22:55:57 Average: 2 0.48 0.00 0.50 0.09 1.20 97.73 22:55:57 Average: 3 0.57 0.00 0.36 0.04 1.14 97.89 22:55:57 22:55:57 22:55:57