Pull request #696 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9+4525aed633a2d28dffb46d50cb0e81f75e767df3 (4ff9699e543fbb991c69804ed28bc64ec820c730) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-696/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-696/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-16391 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-696 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 Merge succeeded, producing 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 Checking out Revision 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 (PR-696) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 Commit message: "feat: Removed remote logging feature" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:08:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:08:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:08:55 ========================================================= 22:08:55 EdgeX Global Pipelines Version Info 22:08:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:08:56 ------------------- 22:08:56 stable info: 22:08:56 ------------------- 22:08:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:08:56 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:08:56 Message: update stable to v1.0.173 22:08:57 ------------------- 22:08:57 experimental info: 22:08:57 ------------------- 22:08:57 Commited By: **** collab-it+edgex@linuxfoundation.org 22:08:57 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:08:57 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:08:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:08:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:08:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:08:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:08:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:08:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 22:08:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:09:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:09:01 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:09:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-696 [Pipeline] echo 22:09:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-696 [Pipeline] echo 22:09:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-696 [Pipeline] echo 22:09:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 [Pipeline] echo 22:09:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cc1ee3 [Pipeline] echo 22:09:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:09:02 provisioning config files... 22:09:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config7879642305477750885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:03 ---> docker-login.sh 22:09:03 nexus3.edgexfoundry.org:10001 22:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:03 Configure a credential helper to remove this warning. See 22:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:03 22:09:03 Login Succeeded 22:09:03 nexus3.edgexfoundry.org:10002 22:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:03 Configure a credential helper to remove this warning. See 22:09:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:03 22:09:03 Login Succeeded 22:09:03 nexus3.edgexfoundry.org:10003 22:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:04 Configure a credential helper to remove this warning. See 22:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:04 22:09:04 Login Succeeded 22:09:04 nexus3.edgexfoundry.org:10004 22:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:04 Configure a credential helper to remove this warning. See 22:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:04 22:09:04 Login Succeeded 22:09:04 docker.io 22:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:04 Configure a credential helper to remove this warning. See 22:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:04 22:09:04 Login Succeeded 22:09:04 ---> docker-login.sh ends [Pipeline] } 22:09:04 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:09:05 + git log --format=format:%s -1 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 [Pipeline] echo 22:09:05 GIT_COMMIT: 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9, Commit Message: feat: Removed remote logging feature [Pipeline] echo 22:09:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:09:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:09:06 22:09:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:09:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:09:07 latest: Pulling from edgex-devops/git-semver 22:09:07 31603596830f: Pulling fs layer 22:09:07 2a8b12db71e7: Pulling fs layer 22:09:07 6ca5941a6612: Pulling fs layer 22:09:07 ecc8261a40a4: Pulling fs layer 22:09:07 ecc8261a40a4: Waiting 22:09:07 2a8b12db71e7: Verifying Checksum 22:09:07 2a8b12db71e7: Download complete 22:09:07 31603596830f: Verifying Checksum 22:09:07 31603596830f: Download complete 22:09:07 ecc8261a40a4: Verifying Checksum 22:09:07 ecc8261a40a4: Download complete 22:09:07 6ca5941a6612: Verifying Checksum 22:09:07 6ca5941a6612: Download complete 22:09:07 31603596830f: Pull complete 22:09:07 2a8b12db71e7: Pull complete 22:09:08 6ca5941a6612: Pull complete 22:09:08 ecc8261a40a4: Pull complete 22:09:08 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:09:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:09:09 prd-centos7-docker-4c-2g-16391 does not seem to be running inside a container 22:09:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-696 -v /w/workspace/dgexfoundry_device-sdk-go_PR-696:/w/workspace/dgexfoundry_device-sdk-go_PR-696:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:09:11 $ docker top e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:09:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:09:11 [ssh-agent] Looking for ssh-agent implementation... 22:09:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:09:12 $ docker exec e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab ssh-agent 22:09:12 SSH_AUTH_SOCK=/tmp/ssh-oHR4TcQd76iU/agent.11 22:09:12 SSH_AGENT_PID=17 22:09:12 Running ssh-add (command line suppressed) 22:09:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_7627543900508463948.key (/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_7627543900508463948.key) 22:09:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:09:12 + git tag --points-at HEAD [Pipeline] } 22:09:12 $ docker exec --env ******** --env ******** e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab ssh-agent -k 22:09:12 unset SSH_AUTH_SOCK; 22:09:12 unset SSH_AGENT_PID; 22:09:12 echo Agent pid 17 killed; 22:09:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:09:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:09:13 [ssh-agent] Looking for ssh-agent implementation... 22:09:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:09:13 $ docker exec e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab ssh-agent 22:09:13 SSH_AUTH_SOCK=/tmp/ssh-g4mtXT2zVtM0/agent.48 22:09:13 SSH_AGENT_PID=54 22:09:13 Running ssh-add (command line suppressed) 22:09:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_8772791119366110315.key (/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/private_key_8772791119366110315.key) 22:09:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:09:14 + git semver init 22:09:14 # -> Open(): unable to determine branch for HEAD 22:09:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-696/.git 22:09:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-696 22:09:14 # $SEMVER_REMOTE_NAME = origin 22:09:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:09:14 # $SEMVER_USER_NAME = edgex-jenkins 22:09:14 # $SEMVER_BRANCH = PR-696 22:09:14 # $SEMVER_TEMP = /tmp/semver-170264298 22:09:14 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 22:09:14 # '/tmp/semver-170264298' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-696/.semver' 22:09:14 # -> Force: false 22:09:14 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-696/.semver [Pipeline] } 22:09:14 $ docker exec --env ******** --env ******** e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab ssh-agent -k 22:09:14 unset SSH_AUTH_SOCK; 22:09:14 unset SSH_AGENT_PID; 22:09:14 echo Agent pid 54 killed; 22:09:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:09:15 + git semver [Pipeline] } 22:09:15 $ docker stop --time=1 e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab 22:09:16 $ docker rm -f e87573283ac533d72079d31ec8c86c32f3baf1251e585babccc0c5f24a6924ab [Pipeline] // withDockerContainer [Pipeline] sh 22:09:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:09:17 Stashed 1 file(s) [Pipeline] echo 22:09:17 [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:09:33 Still waiting to schedule task 22:09:33 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:09:33 Still waiting to schedule task 22:09:33 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-16389’ 22:12:10 Running on prd-centos7-docker-4c-2g-16393 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] ws 22:12:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:12:13 using credential edgex-jenkins-ssh 22:12:13 Cloning the remote Git repository 22:12:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:12:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 22:12:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:12:13 > git --version # timeout=10 22:12:13 > git --version # 'git version 2.24.3' 22:12:13 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:15 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 22:12:15 Merge succeeded, producing 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 22:12:15 Checking out Revision 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 (PR-696) 22:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:12:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:12:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:12:15 > git config core.sparsecheckout # timeout=10 22:12:15 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 22:12:15 > git remote # timeout=10 22:12:15 > git config --get remote.origin.url # timeout=10 22:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:15 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 22:12:15 > git rev-parse HEAD^{commit} # timeout=10 22:12:15 > git config core.sparsecheckout # timeout=10 22:12:15 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 22:12:18 Commit message: "feat: Removed remote logging feature" 22:12:18 > git --version # timeout=10 22:12:18 > git --version # 'git version 2.24.3' 22:12:18 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:20 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:12:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:12:21 + sudo service docker restart 22:12:21 + true 22:12:21 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:12:22 provisioning config files... 22:12:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8280506741761499817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:22 ---> docker-login.sh 22:12:22 nexus3.edgexfoundry.org:10001 22:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:23 Configure a credential helper to remove this warning. See 22:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:23 22:12:23 Login Succeeded 22:12:23 nexus3.edgexfoundry.org:10002 22:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:23 Configure a credential helper to remove this warning. See 22:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:23 22:12:23 Login Succeeded 22:12:23 nexus3.edgexfoundry.org:10003 22:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:23 Configure a credential helper to remove this warning. See 22:12:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:23 22:12:23 Login Succeeded 22:12:23 nexus3.edgexfoundry.org:10004 22:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:24 Configure a credential helper to remove this warning. See 22:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:24 22:12:24 Login Succeeded 22:12:24 docker.io 22:12:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:24 Configure a credential helper to remove this warning. See 22:12:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:24 22:12:24 Login Succeeded 22:12:24 ---> docker-login.sh ends [Pipeline] } 22:12:24 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:24 ========================================================= 22:12:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:12:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:12:25 + 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:12:25 Sending build context to Docker daemon 2.421MB 22:12:25 Step 1/8 : ARG BASE=golang:1.15-alpine 22:12:25 Step 2/8 : FROM ${BASE} 22:12:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:12:25 188c0c94c7c5: Pulling fs layer 22:12:25 0ef7d3d256c8: Pulling fs layer 22:12:25 de9db76c5a1d: Pulling fs layer 22:12:25 bca2f99d35d6: Pulling fs layer 22:12:25 93359f2a8cfa: Pulling fs layer 22:12:25 7c6f9722023f: Pulling fs layer 22:12:25 a35cf1a2eb13: Pulling fs layer 22:12:25 bca2f99d35d6: Waiting 22:12:25 93359f2a8cfa: Waiting 22:12:25 7c6f9722023f: Waiting 22:12:25 a35cf1a2eb13: Waiting 22:12:25 de9db76c5a1d: Verifying Checksum 22:12:25 de9db76c5a1d: Download complete 22:12:25 0ef7d3d256c8: Verifying Checksum 22:12:25 0ef7d3d256c8: Download complete 22:12:25 93359f2a8cfa: Verifying Checksum 22:12:25 93359f2a8cfa: Download complete 22:12:25 188c0c94c7c5: Verifying Checksum 22:12:25 188c0c94c7c5: Download complete 22:12:25 7c6f9722023f: Verifying Checksum 22:12:25 7c6f9722023f: Download complete 22:12:25 188c0c94c7c5: Pull complete 22:12:26 0ef7d3d256c8: Pull complete 22:12:26 de9db76c5a1d: Pull complete 22:12:29 a35cf1a2eb13: Verifying Checksum 22:12:29 a35cf1a2eb13: Download complete 22:12:29 bca2f99d35d6: Verifying Checksum 22:12:29 bca2f99d35d6: Download complete 22:12:34 bca2f99d35d6: Pull complete 22:12:34 93359f2a8cfa: Pull complete 22:12:35 7c6f9722023f: Pull complete 22:12:39 a35cf1a2eb13: Pull complete 22:12:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:12:39 ---> a62c8e92a672 22:12:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:12:40 ---> Running in 798449d98cfd 22:12:40 Removing intermediate container 798449d98cfd 22:12:40 ---> 4712b653abaf 22:12:40 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:12:40 ---> Running in ff8c8fcad697 22:12:41 Removing intermediate container ff8c8fcad697 22:12:41 ---> b7d3500528ec 22:12:41 Step 5/8 : RUN apk add --no-cache make git 22:12:41 ---> Running in 80e0c7042d1b 22:12:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:12:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:12:45 OK: 166 MiB in 39 packages 22:12:45 Removing intermediate container 80e0c7042d1b 22:12:45 ---> 17cbbdf7c414 22:12:45 Step 6/8 : WORKDIR /device-sdk-go 22:12:45 ---> Running in 96cc0e0832bc 22:12:45 Removing intermediate container 96cc0e0832bc 22:12:45 ---> 7ff425d4ad32 22:12:45 Step 7/8 : COPY . . 22:12:47 ---> ac8ac920044e 22:12:47 Step 8/8 : RUN go mod download 22:12:47 ---> Running in a6a171462724 22:13:05 Removing intermediate container a6a171462724 22:13:05 ---> c2b8eca8f26a 22:13:05 Successfully built c2b8eca8f26a 22:13:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:13:05 + docker inspect -f . ci-base-image-x86_64 22:13:05 . [Pipeline] withDockerContainer 22:13:05 prd-centos7-docker-4c-2g-16393 does not seem to be running inside a container 22:13:05 $ 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 22:13:06 $ docker top 53ff97ffbc1977aa7c1552b0213db0c710bdd3399ffaceafecf7646e7fe93350 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:07 + go version 22:13:07 go version go1.15.5 linux/amd64 [Pipeline] } 22:13:07 $ docker stop --time=1 53ff97ffbc1977aa7c1552b0213db0c710bdd3399ffaceafecf7646e7fe93350 22:13:08 $ docker rm -f 53ff97ffbc1977aa7c1552b0213db0c710bdd3399ffaceafecf7646e7fe93350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:13:09 + docker inspect -f . ci-base-image-x86_64 22:13:09 . [Pipeline] withDockerContainer 22:13:09 prd-centos7-docker-4c-2g-16393 does not seem to be running inside a container 22:13:10 $ 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 22:13:10 $ docker top 8d724fd9c173d1ffeee7dfccd480e1dd709397101755169ed288692b7898ae2c -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:11 + make test 22:13:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:13:19 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:13:21 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16394 in /w/workspace/dgexfoundry_device-sdk-go_PR-696 [Pipeline] { [Pipeline] ws 22:13:21 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:13:25 using credential edgex-jenkins-ssh 22:13:26 Cloning the remote Git repository 22:13:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 22:13:26 > git init /w/workspace/device-sdk-go/1 # timeout=10 22:13:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:13:26 > git --version # timeout=10 22:13:26 > git --version # 'git version 2.17.1' 22:13:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:13:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 22:13:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 22:13:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:13:28 Merging remotes/origin/master commit 4525aed633a2d28dffb46d50cb0e81f75e767df3 into PR head commit 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 22:13:28 Merge succeeded, producing 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 22:13:28 Checking out Revision 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 (PR-696) 22:13:28 > git config core.sparsecheckout # timeout=10 22:13:28 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 22:13:28 > git remote # timeout=10 22:13:28 > git config --get remote.origin.url # timeout=10 22:13:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:28 > git merge 4525aed633a2d28dffb46d50cb0e81f75e767df3 # timeout=10 22:13:28 > git rev-parse HEAD^{commit} # timeout=10 22:13:28 > git config core.sparsecheckout # timeout=10 22:13:28 > git checkout -f 1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 # timeout=10 22:13:32 Commit message: "feat: Removed remote logging feature" 22:13:32 > git --version # timeout=10 22:13:32 > git --version # 'git version 2.17.1' 22:13:32 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:34 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:13:34 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:13:34 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:13:34 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 20.0% of statements 22:13:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:13:35 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.460s coverage: 97.1% of statements 22:13:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:13:35 + sudo service docker restart 22:13:35 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:13:38 provisioning config files... 22:13:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config95711990346534187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:38 ---> docker-login.sh 22:13:38 nexus3.edgexfoundry.org:10001 22:13:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:40 Configure a credential helper to remove this warning. See 22:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:40 22:13:40 Login Succeeded 22:13:40 nexus3.edgexfoundry.org:10002 22:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:40 Configure a credential helper to remove this warning. See 22:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:40 22:13:40 Login Succeeded 22:13:40 nexus3.edgexfoundry.org:10003 22:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:40 Configure a credential helper to remove this warning. See 22:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:40 22:13:40 Login Succeeded 22:13:41 nexus3.edgexfoundry.org:10004 22:13:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:41 Configure a credential helper to remove this warning. See 22:13:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:41 22:13:41 Login Succeeded 22:13:41 docker.io 22:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:42 Configure a credential helper to remove this warning. See 22:13:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:42 22:13:42 Login Succeeded 22:13:42 ---> docker-login.sh ends [Pipeline] } 22:13:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:42 ========================================================= 22:13:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:13:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:13:43 + 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:13:43 Sending build context to Docker daemon 2.418MB 22:13:43 Step 1/8 : ARG BASE=golang:1.15-alpine 22:13:43 Step 2/8 : FROM ${BASE} 22:13:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:43 5f621e34cdf4: Pulling fs layer 22:13:43 a4357932f1b6: Pulling fs layer 22:13:43 18c013af1878: Pulling fs layer 22:13:43 00ac8860ef70: Pulling fs layer 22:13:43 63d7cb157983: Pulling fs layer 22:13:43 b116817d02f9: Pulling fs layer 22:13:43 745a02a5169b: Pulling fs layer 22:13:43 00ac8860ef70: Waiting 22:13:43 63d7cb157983: Waiting 22:13:43 745a02a5169b: Waiting 22:13:43 b116817d02f9: Waiting 22:13:43 18c013af1878: Verifying Checksum 22:13:43 18c013af1878: Download complete 22:13:43 a4357932f1b6: Verifying Checksum 22:13:43 a4357932f1b6: Download complete 22:13:43 b116817d02f9: Verifying Checksum 22:13:43 b116817d02f9: Download complete 22:13:43 5f621e34cdf4: Verifying Checksum 22:13:43 5f621e34cdf4: Download complete 22:13:44 5f621e34cdf4: Pull complete 22:13:45 a4357932f1b6: Pull complete 22:13:45 18c013af1878: Pull complete 22:13:47 745a02a5169b: Verifying Checksum 22:13:47 745a02a5169b: Download complete 22:13:48 00ac8860ef70: Verifying Checksum 22:13:48 00ac8860ef70: Download complete 22:13:58 00ac8860ef70: Pull complete 22:13:58 63d7cb157983: Pull complete 22:13:59 b116817d02f9: Pull complete 22:14:02 745a02a5169b: Pull complete 22:14:02 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 22:14:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:14:02 ---> b7e6874047d6 22:14:02 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:14:05 ---> Running in c457a4908fbb 22:14:05 Removing intermediate container c457a4908fbb 22:14:05 ---> 0f2141f78fff 22:14:05 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:05 ---> Running in 78680743b6c3 22:14:07 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 9.4% of statements 22:14:07 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.080s coverage: 21.9% of statements 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:14:07 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.234s coverage: 42.5% of statements 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:14:07 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.300s coverage: 68.9% of statements 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:14:07 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 53.8% of statements 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 22:14:07 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 22:14:07 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.462s coverage: 68.9% of statements 22:14:07 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.6% of statements 22:14:07 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:14:07 GO111MODULE=on go vet ./... 22:14:08 Removing intermediate container 78680743b6c3 22:14:08 ---> 694b2acb6e52 22:14:08 Step 5/8 : RUN apk add --no-cache make git 22:14:08 ---> Running in a7e9ec05cfc1 22:14:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:14:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:14:14 OK: 142 MiB in 39 packages 22:14:15 gofmt -l . 22:14:15 [ "`gofmt -l .`" = "" ] 22:14:15 ./bin/test-attribution-txt.sh 22:14:15 Removing intermediate container a7e9ec05cfc1 22:14:15 ---> b910a61733b0 22:14:15 Step 6/8 : WORKDIR /device-sdk-go 22:14:15 ---> Running in a6bdd8aecf15 22:14:16 ./bin/test-go-mod-tidy.sh 22:14:16 Removing intermediate container a6bdd8aecf15 22:14:16 ---> cae39ac498a5 22:14:16 Step 7/8 : COPY . . [Pipeline] } 22:14:16 $ docker stop --time=1 8d724fd9c173d1ffeee7dfccd480e1dd709397101755169ed288692b7898ae2c 22:14:17 ---> 086eabd5e676 22:14:17 Step 8/8 : RUN go mod download 22:14:17 ---> Running in 425e4a971b7a 22:14:18 $ docker rm -f 8d724fd9c173d1ffeee7dfccd480e1dd709397101755169ed288692b7898ae2c [Pipeline] // withDockerContainer [Pipeline] sh 22:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:14:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:14:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:14:22 + ls -al . 22:14:22 total 208 22:14:22 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 16 22:14 . 22:14:22 drwxrwxr-x. 4 jenkins jenkins 28 Dec 16 22:12 .. 22:14:22 drwxrwxr-x. 2 jenkins jenkins 64 Dec 16 22:12 bin 22:14:22 -rw-r--r--. 1 jenkins jenkins 128915 Dec 16 22:14 coverage.out 22:14:22 -rw-rw-r--. 1 jenkins jenkins 936 Dec 16 22:12 Dockerfile.build 22:14:22 -rw-rw-r--. 1 jenkins jenkins 140 Dec 16 22:12 .dockerignore 22:14:22 drwxrwxr-x. 4 jenkins jenkins 48 Dec 16 22:12 example 22:14:22 drwxrwxr-x. 8 jenkins jenkins 179 Dec 16 22:12 .git 22:14:22 drwxrwxr-x. 2 jenkins jenkins 103 Dec 16 22:12 .github 22:14:22 -rw-rw-r--. 1 jenkins jenkins 138 Dec 16 22:12 .gitignore 22:14:22 -rw-r--r--. 1 jenkins jenkins 488 Dec 16 22:14 go.mod 22:14:22 -rw-r--r--. 1 jenkins jenkins 13631 Dec 16 22:14 go.sum 22:14:22 drwxrwxr-x. 15 jenkins jenkins 211 Dec 16 22:12 internal 22:14:22 -rw-rw-r--. 1 jenkins jenkins 901 Dec 16 22:12 Jenkinsfile 22:14:22 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 16 22:12 LICENSE 22:14:22 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 16 22:12 Makefile 22:14:22 drwxrwxr-x. 4 jenkins jenkins 26 Dec 16 22:12 openapi 22:14:22 drwxrwxr-x. 5 jenkins jenkins 50 Dec 16 22:12 pkg 22:14:22 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 16 22:12 README.md 22:14:22 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 16 22:12 RELEASE-NOTES.txt 22:14:22 drwxrwxr-x. 4 jenkins jenkins 54 Dec 16 22:12 snap 22:14:22 -rw-rw-r--. 1 jenkins jenkins 5 Dec 16 22:09 VERSION 22:14:22 -rw-rw-r--. 1 jenkins jenkins 222 Dec 16 22:12 version.go [Pipeline] isUnix [Pipeline] sh 22:14:22 + 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=1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 --label arch=amd64 --label version=0.0.0 . 22:14:23 Sending build context to Docker daemon 2.551MB 22:14:23 Step 1/24 : ARG BASE=golang:1.15-alpine 22:14:23 Step 2/24 : FROM ${BASE} AS builder 22:14:23 ---> c2b8eca8f26a 22:14:23 Step 3/24 : ARG MAKE='make build' 22:14:23 ---> Running in 7828acc31496 22:14:23 Removing intermediate container 7828acc31496 22:14:23 ---> 69240adb1914 22:14:23 Step 4/24 : WORKDIR /device-sdk-go 22:14:23 ---> Running in 7d633b72b438 22:14:24 Removing intermediate container 7d633b72b438 22:14:24 ---> 28239b6f5fe4 22:14:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:14:24 ---> Running in bdef876c3dff 22:14:24 Removing intermediate container bdef876c3dff 22:14:24 ---> e8cd9329edb4 22:14:24 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:24 ---> Running in 58a79badbc66 22:14:25 Removing intermediate container 58a79badbc66 22:14:25 ---> 259010df1981 22:14:25 Step 7/24 : RUN apk add --update --no-cache make git 22:14:25 ---> Running in 39010266c4d0 22:14:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:14:28 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:14:34 OK: 166 MiB in 39 packages 22:14:34 Removing intermediate container 39010266c4d0 22:14:34 ---> 86600c6a7c22 22:14:34 Step 8/24 : COPY . . 22:14:34 ---> 467e96beb69d 22:14:34 Step 9/24 : RUN ${MAKE} 22:14:34 ---> Running in 121d26451f20 22:14:35 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:14:39 Removing intermediate container 425e4a971b7a 22:14:39 ---> deaccad4d6e8 22:14:39 Successfully built deaccad4d6e8 22:14:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:14:40 + docker inspect -f . ci-base-image-arm64 22:14:40 . [Pipeline] withDockerContainer 22:14:40 prd-ubuntu18.04-docker-arm64-4c-16g-16394 does not seem to be running inside a container 22:14:40 $ 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 22:14:42 $ docker top 3b9de101038a82a770fca0c7605e5f69ddc7a8f8319887071ccc814809bdb470 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:43 + go version 22:14:43 go version go1.15.5 linux/arm64 [Pipeline] } 22:14:43 $ docker stop --time=1 3b9de101038a82a770fca0c7605e5f69ddc7a8f8319887071ccc814809bdb470 22:14:43 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:14:45 $ docker rm -f 3b9de101038a82a770fca0c7605e5f69ddc7a8f8319887071ccc814809bdb470 [Pipeline] // withDockerContainer 22:14:45 Removing intermediate container 121d26451f20 22:14:45 ---> 0990e1a8bb9a 22:14:45 Step 10/24 : FROM scratch 22:14:45 ---> 22:14:45 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:14:45 ---> Running in 317a16934107 [Pipeline] } [Pipeline] // script [Pipeline] } 22:14:45 Removing intermediate container 317a16934107 22:14:45 ---> 88274fa449a0 22:14:45 Step 12/24 : ENV APP_PORT=49990 22:14:45 ---> Running in eee4d84d8836 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script 22:14:46 Removing intermediate container eee4d84d8836 22:14:46 ---> 46e9f65f3e25 22:14:46 Step 13/24 : EXPOSE $APP_PORT 22:14:46 ---> Running in 8b05df63c95e [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:14:46 Removing intermediate container 8b05df63c95e 22:14:46 ---> 75543692fddb 22:14:46 Step 14/24 : WORKDIR / 22:14:46 ---> Running in 572a9d2da107 22:14:46 Removing intermediate container 572a9d2da107 22:14:46 ---> d3b2b0e1a449 22:14:46 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:14:46 + docker inspect -f . ci-base-image-arm64 22:14:46 . [Pipeline] withDockerContainer 22:14:46 prd-ubuntu18.04-docker-arm64-4c-16g-16394 does not seem to be running inside a container 22:14:47 $ 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 22:14:47 ---> 1a3a793fa31b 22:14:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:14:47 ---> f35256e34005 22:14:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:14:47 ---> 20a3204bdc94 22:14:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:14:47 ---> 4fa954e78ea8 22:14:47 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:14:48 ---> e533c51178c7 22:14:48 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:14:48 ---> Running in 898906094ab2 22:14:48 Removing intermediate container 898906094ab2 22:14:48 ---> 233a601d6b32 22:14:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:14:48 ---> Running in a927403a8c5f 22:14:48 Removing intermediate container a927403a8c5f 22:14:48 ---> 6bc330382b06 22:14:48 Step 22/24 : LABEL arch=amd64 22:14:48 ---> Running in 1c9dcc4af1be 22:14:48 $ docker top 740269beb437d2a57088aea9ae44b04701793ce8f1f9174ce187374093a6262d -eo pid,comm 22:14:48 Removing intermediate container 1c9dcc4af1be 22:14:48 ---> 4cae75906036 22:14:48 Step 23/24 : LABEL git_sha=1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 22:14:48 ---> Running in ab7d5f60e7f4 [Pipeline] { 22:14:48 Removing intermediate container ab7d5f60e7f4 22:14:48 ---> c0a49702c00a 22:14:48 Step 24/24 : LABEL version=0.0.0 22:14:48 ---> Running in 58e6bc249e6e [Pipeline] sh 22:14:49 Removing intermediate container 58e6bc249e6e 22:14:49 ---> 7a441ada2698 22:14:49 [Warning] One or more build-args [ARCH] were not consumed 22:14:49 Successfully built 7a441ada2698 22:14:49 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 22:14:49 + make test 22:14:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:15:12 ? github.com/edgexfoundry/device-sdk-go [no test files] 22:15:51 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 22:15:51 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 22:15:51 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 22:15:51 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.118s coverage: 20.0% of statements 22:15:55 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.177s coverage: 97.1% of statements 22:16:22 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.133s coverage: 9.4% of statements 22:16:22 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 22:16:22 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.572s coverage: 42.5% of statements 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 22:16:22 ok github.com/edgexfoundry/device-sdk-go/internal/handler 1.024s coverage: 68.9% of statements 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 22:16:22 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.272s coverage: 53.8% of statements 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 22:16:22 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 22:16:22 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.041s coverage: 68.9% of statements 22:16:22 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.131s coverage: 4.6% of statements 22:16:22 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 22:16:22 GO111MODULE=on go vet ./... 22:16:54 gofmt -l . 22:16:54 [ "`gofmt -l .`" = "" ] 22:16:54 ./bin/test-attribution-txt.sh 22:16:54 ./bin/test-go-mod-tidy.sh [Pipeline] } 22:16:54 $ docker stop --time=1 740269beb437d2a57088aea9ae44b04701793ce8f1f9174ce187374093a6262d 22:16:57 $ docker rm -f 740269beb437d2a57088aea9ae44b04701793ce8f1f9174ce187374093a6262d [Pipeline] // withDockerContainer [Pipeline] sh 22:16:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:16:58 Warning: overwriting stash ‘coverage-report’ 22:16:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:17:00 + ls -al . 22:17:00 total 244 22:17:00 drwxrwxr-x 10 jenkins jenkins 4096 Dec 16 22:16 . 22:17:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 22:13 .. 22:17:00 -rw-rw-r-- 1 jenkins jenkins 140 Dec 16 22:13 .dockerignore 22:17:00 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 22:13 .git 22:17:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 22:13 .github 22:17:00 -rw-rw-r-- 1 jenkins jenkins 138 Dec 16 22:13 .gitignore 22:17:00 -rw-rw-r-- 1 jenkins jenkins 936 Dec 16 22:13 Dockerfile.build 22:17:00 -rw-rw-r-- 1 jenkins jenkins 901 Dec 16 22:13 Jenkinsfile 22:17:00 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 16 22:13 LICENSE 22:17:00 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 16 22:13 Makefile 22:17:00 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 16 22:13 README.md 22:17:00 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 16 22:13 RELEASE-NOTES.txt 22:17:00 -rw-rw-r-- 1 jenkins jenkins 5 Dec 16 22:09 VERSION 22:17:00 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 22:13 bin 22:17:00 -rw-r--r-- 1 jenkins jenkins 128916 Dec 16 22:16 coverage.out 22:17:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 22:13 example 22:17:00 -rw-r--r-- 1 jenkins jenkins 488 Dec 16 22:16 go.mod 22:17:00 -rw-r--r-- 1 jenkins jenkins 13631 Dec 16 22:16 go.sum 22:17:00 drwxrwxr-x 15 jenkins jenkins 4096 Dec 16 22:13 internal 22:17:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 22:13 openapi 22:17:00 drwxrwxr-x 5 jenkins jenkins 4096 Dec 16 22:13 pkg 22:17:00 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 22:13 snap 22:17:00 -rw-rw-r-- 1 jenkins jenkins 222 Dec 16 22:13 version.go [Pipeline] isUnix [Pipeline] sh 22:17:00 + 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=1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 --label arch=arm64 --label version=0.0.0 . 22:17:01 Sending build context to Docker daemon 2.547MB 22:17:01 Step 1/24 : ARG BASE=golang:1.15-alpine 22:17:01 Step 2/24 : FROM ${BASE} AS builder 22:17:01 ---> deaccad4d6e8 22:17:01 Step 3/24 : ARG MAKE='make build' 22:17:01 ---> Running in 825e7b69e5ee 22:17:01 Removing intermediate container 825e7b69e5ee 22:17:01 ---> 45d90d361a32 22:17:01 Step 4/24 : WORKDIR /device-sdk-go 22:17:02 ---> Running in 6db209223568 22:17:02 Removing intermediate container 6db209223568 22:17:02 ---> e165a72470b2 22:17:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:17:02 ---> Running in 923fb7426e4b 22:17:03 Removing intermediate container 923fb7426e4b 22:17:03 ---> d8185db85374 22:17:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:17:03 ---> Running in fac0c5083bb9 22:17:05 Removing intermediate container fac0c5083bb9 22:17:05 ---> 4aaf42c66007 22:17:05 Step 7/24 : RUN apk add --update --no-cache make git 22:17:05 ---> Running in 50bb8aae3282 22:17:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:17:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:17:10 OK: 142 MiB in 39 packages 22:17:11 Removing intermediate container 50bb8aae3282 22:17:11 ---> f0857816a805 22:17:11 Step 8/24 : COPY . . 22:17:12 ---> 8c66c86fa890 22:17:12 Step 9/24 : RUN ${MAKE} 22:17:12 ---> Running in c88c9092031d 22:17:13 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:17:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 22:17:40 Removing intermediate container c88c9092031d 22:17:40 ---> 9fac0961920d 22:17:40 Step 10/24 : FROM scratch 22:17:40 ---> 22:17:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 22:17:40 ---> Running in 877e20c182c8 22:17:41 Removing intermediate container 877e20c182c8 22:17:41 ---> 435b613f55a0 22:17:41 Step 12/24 : ENV APP_PORT=49990 22:17:41 ---> Running in 1117a297ea01 22:17:41 Removing intermediate container 1117a297ea01 22:17:41 ---> 77e0ee82c8bc 22:17:41 Step 13/24 : EXPOSE $APP_PORT 22:17:41 ---> Running in 191f7b5fa803 22:17:42 Removing intermediate container 191f7b5fa803 22:17:42 ---> 4ab6441a9234 22:17:42 Step 14/24 : WORKDIR / 22:17:42 ---> Running in 9abfbcdaa57f 22:17:42 Removing intermediate container 9abfbcdaa57f 22:17:42 ---> 817f01a98753 22:17:42 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 22:17:44 ---> 79e1b3ce751f 22:17:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 22:17:44 ---> 575740c9a069 22:17:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 22:17:45 ---> 24733becd96a 22:17:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 22:17:45 ---> e8ef296a51b8 22:17:45 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 22:17:46 ---> 972d8c0dc206 22:17:46 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 22:17:46 ---> Running in bac075fac6d6 22:17:47 Removing intermediate container bac075fac6d6 22:17:47 ---> cae374ba922a 22:17:47 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:17:47 ---> Running in 1f08e56a2f3a 22:17:47 Removing intermediate container 1f08e56a2f3a 22:17:47 ---> 0e334af8d9c4 22:17:47 Step 22/24 : LABEL arch=arm64 22:17:47 ---> Running in 33f7f0ad679b 22:17:48 Removing intermediate container 33f7f0ad679b 22:17:48 ---> dccfbfd09a85 22:17:48 Step 23/24 : LABEL git_sha=1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 22:17:48 ---> Running in 93e89be1dd2e 22:17:49 Removing intermediate container 93e89be1dd2e 22:17:49 ---> 2c0a2a5e47b0 22:17:49 Step 24/24 : LABEL version=0.0.0 22:17:49 ---> Running in 0dc7651c4436 22:17:49 Removing intermediate container 0dc7651c4436 22:17:49 ---> ce978b7ab3db 22:17:49 [Warning] One or more build-args [ARCH] were not consumed 22:17:49 Successfully built ce978b7ab3db 22:17:49 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:17:51 provisioning config files... 22:17:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config1720583419340646454tmp [Pipeline] { [Pipeline] sh 22:17:52 + set +x 22:17:52 + curl -s https://codecov.io/bash 22:17:52 + bash -s -- 22:17:52 22:17:52 _____ _ 22:17:52 / ____| | | 22:17:52 | | ___ __| | ___ ___ _____ __ 22:17:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:17:52 | |___| (_) | (_| | __/ (_| (_) \ V / 22:17:52 \_____\___/ \__,_|\___|\___\___/ \_/ 22:17:52 Bash-20201130-cc6d3fe 22:17:52 22:17:52 22:17:52 ==> Jenkins CI detected. 22:17:52 project root: . 22:17:52 --> token set from env 22:17:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:17:52 ==> Running gcov in . (disable via -X gcov) 22:17:52 ==> Python coveragepy not found 22:17:52 ==> Searching for coverage reports in: 22:17:52 + . 22:17:52 -> Found 1 reports 22:17:52 ==> Detecting git/mercurial file structure 22:17:52 ==> Reading reports 22:17:52 + ./coverage.out bytes=128916 22:17:52 ==> Appending adjustments 22:17:52 https://docs.codecov.io/docs/fixing-reports 22:17:53 + Found adjustments 22:17:53 ==> Gzipping contents 22:17:53 24K /tmp/codecov.0aP56c.gz 22:17:53 ==> Uploading reports 22:17:53 url: https://codecov.io 22:17:53 query: branch=PR-696&commit=1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-696%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=696&job=&cmd_args= 22:17:53 -> Pinging Codecov 22:17:53 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-696&commit=1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-696%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=696&job=&cmd_args= 22:17:53 -> Uploading to 22:17:53 https://storage.googleapis.com/codecov/v4/raw/2020-12-16/7E55EF52A471D76F132DFD9A03CDDE97/1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9/cf787658-5c71-4bd0-8282-3b49513129e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201216T221753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b942d42572e67941b6d6e60d9709bab9005788d4d6c93c93c5c42c6a39e0307f 22:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 22:17:53 Dload Upload Total Spent Left Speed 22:17:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21064 0 0 100 21064 0 50257 --:--:-- --:--:-- --:--:-- 50272 100 21064 0 0 100 21064 0 50238 --:--:-- --:--:-- --:--:-- 50152 22:17:54 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1cc1ee31b698c342d2a0d47eeb984e5b7d1f23d9 [Pipeline] } 22:17:54 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:17:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:17:57 ---> package-listing.sh 22:17:57 ++ facter osfamily 22:17:57 ++ tr '[:upper:]' '[:lower:]' 22:17:57 + OS_FAMILY=redhat 22:17:57 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-696 22:17:57 + START_PACKAGES=/tmp/packages_start.txt 22:17:57 + END_PACKAGES=/tmp/packages_end.txt 22:17:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:17:57 + PACKAGES=/tmp/packages_start.txt 22:17:57 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-696 ']' 22:17:57 + PACKAGES=/tmp/packages_end.txt 22:17:57 + case "${OS_FAMILY}" in 22:17:57 + rpm -qa 22:17:57 + sort 22:18:03 + '[' -f /tmp/packages_start.txt ']' 22:18:03 + '[' -f /tmp/packages_end.txt ']' 22:18:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:18:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-696 ']' 22:18:03 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-696/archives/ 22:18:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-696/archives/ [Pipeline] echo 22:18:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:18:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:18:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:18:03 22:18:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:18:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:18:04 alpine: Pulling from edgex-lftools-log-publisher 22:18:04 df20fa9351a1: Pulling fs layer 22:18:04 36b3adc4ff6f: Pulling fs layer 22:18:04 8ad3a11d3b57: Pulling fs layer 22:18:04 46f8f816bc3b: Pulling fs layer 22:18:04 93b61091891f: Pulling fs layer 22:18:04 93b9cdb0e59b: Pulling fs layer 22:18:04 5e14af77c1be: Pulling fs layer 22:18:04 01666e4c0597: Pulling fs layer 22:18:04 aa168da1d23b: Pulling fs layer 22:18:04 46f8f816bc3b: Waiting 22:18:04 93b61091891f: Waiting 22:18:04 93b9cdb0e59b: Waiting 22:18:04 5e14af77c1be: Waiting 22:18:04 01666e4c0597: Waiting 22:18:04 aa168da1d23b: Waiting 22:18:04 36b3adc4ff6f: Verifying Checksum 22:18:04 36b3adc4ff6f: Download complete 22:18:04 46f8f816bc3b: Verifying Checksum 22:18:04 46f8f816bc3b: Download complete 22:18:04 df20fa9351a1: Verifying Checksum 22:18:04 df20fa9351a1: Download complete 22:18:04 93b61091891f: Verifying Checksum 22:18:04 93b61091891f: Download complete 22:18:04 5e14af77c1be: Verifying Checksum 22:18:04 5e14af77c1be: Download complete 22:18:04 93b9cdb0e59b: Verifying Checksum 22:18:04 93b9cdb0e59b: Download complete 22:18:04 01666e4c0597: Verifying Checksum 22:18:04 01666e4c0597: Download complete 22:18:04 df20fa9351a1: Pull complete 22:18:04 8ad3a11d3b57: Verifying Checksum 22:18:04 8ad3a11d3b57: Download complete 22:18:05 36b3adc4ff6f: Pull complete 22:18:05 8ad3a11d3b57: Pull complete 22:18:05 46f8f816bc3b: Pull complete 22:18:06 aa168da1d23b: Verifying Checksum 22:18:06 aa168da1d23b: Download complete 22:18:06 93b61091891f: Pull complete 22:18:06 93b9cdb0e59b: Pull complete 22:18:06 5e14af77c1be: Pull complete 22:18:06 01666e4c0597: Pull complete 22:18:13 aa168da1d23b: Pull complete 22:18:13 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:18:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:18:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:18:13 prd-centos7-docker-4c-2g-16391 does not seem to be running inside a container 22:18:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-696 -v /w/workspace/dgexfoundry_device-sdk-go_PR-696:/w/workspace/dgexfoundry_device-sdk-go_PR-696:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:18:17 $ docker top 7e30e4845918867d94f1b7793a96695a135910da41cb6df47d888186a9ec045c -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:17 + touch /tmp/pre-build-complete [Pipeline] sh 22:18:18 + mkdir -p /var/log/sa [Pipeline] sh 22:18:18 + ls /var/log/sa-host 22:18:18 + sadf -c /var/log/sa-host/sa16 22:18:18 file_magic: OK 22:18:18 HZ: Using current value: 100 22:18:18 file_header: OK 22:18:18 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:18:18 Statistics: 22:18:18 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:18:18 File successfully converted to sysstat format version 12.2.1 22:18:18 + sadf -c /var/log/sa-host/sa23 22:18:18 file_magic: OK 22:18:18 HZ: Using current value: 100 22:18:18 file_header: OK 22:18:18 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:18:18 Statistics: 22:18:18 Hnuu...uuuununununu... 22:18:18 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:18:18 provisioning config files... 22:18:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp/config4564503861319462276tmp [Pipeline] { [Pipeline] echo 22:18:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:18:19 ---> create-netrc.sh [Pipeline] } 22:18:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:18:19 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:18:19 ---> python-tools-install.sh [Pipeline] echo 22:18:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:18:20 ---> sudo-logs.sh 22:18:20 Archiving 'sudo' log.. [Pipeline] echo 22:18:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:18:20 ---> job-cost.sh 22:18:20 lf-activate-venv: SKIPPING 22:18:20 INFO: No Stack... 22:18:22 INFO: Retrieving Pricing Info for: v1-standard-2 22:18:22 INFO: Archiving Costs [Pipeline] echo 22:18:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:18:22 ---> logs-deploy.sh 22:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-696/1 22:18:22 INFO: archiving workspace using pattern(s): 22:18:24 Archives upload complete. 22:18:24 INFO: archiving logs to Nexus 22:18:25 ---> uname -a: 22:18:25 Linux prd-centos7-docker-4c-2g-16391.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:18:25 22:18:25 22:18:25 ---> lscpu: 22:18:25 Architecture: x86_64 22:18:25 CPU op-mode(s): 32-bit, 64-bit 22:18:25 Byte Order: Little Endian 22:18:25 Address sizes: 40 bits physical, 48 bits virtual 22:18:25 CPU(s): 4 22:18:25 On-line CPU(s) list: 0-3 22:18:25 Thread(s) per core: 1 22:18:25 Core(s) per socket: 1 22:18:25 Socket(s): 4 22:18:25 NUMA node(s): 1 22:18:25 Vendor ID: GenuineIntel 22:18:25 CPU family: 6 22:18:25 Model: 44 22:18:25 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 22:18:25 Stepping: 1 22:18:25 CPU MHz: 2933.438 22:18:25 BogoMIPS: 5866.87 22:18:25 Virtualization: VT-x 22:18:25 Hypervisor vendor: KVM 22:18:25 Virtualization type: full 22:18:25 L1d cache: 128 KiB 22:18:25 L1i cache: 128 KiB 22:18:25 L2 cache: 16 MiB 22:18:25 L3 cache: 64 MiB 22:18:25 NUMA node0 CPU(s): 0-3 22:18:25 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 22:18:25 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 22:18:25 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 22:18:25 Vulnerability Meltdown: Mitigation; PTI 22:18:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:18:25 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:18:25 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:18:25 Vulnerability Srbds: Not affected 22:18:25 Vulnerability Tsx async abort: Not affected 22:18:25 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:18:25 22:18:25 22:18:25 ---> nproc: 22:18:25 4 22:18:25 22:18:25 22:18:25 ---> df -h: 22:18:25 Filesystem Size Used Available Use% Mounted on 22:18:25 overlay 50.0G 7.3G 42.7G 15% / 22:18:25 tmpfs 64.0M 0 64.0M 0% /dev 22:18:25 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 22:18:25 shm 64.0M 0 64.0M 0% /dev/shm 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-696 22:18:25 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-696@tmp 22:18:25 22:18:25 22:18:25 ---> free -m: 22:18:25 total used free shared buff/cache available 22:18:25 Mem: 1837 685 102 0 1049 1047 22:18:25 Swap: 1023 0 1023 22:18:25 22:18:25 22:18:25 ---> ip addr: 22:18:25 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:18:25 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:18:25 inet 127.0.0.1/8 scope host lo 22:18:25 valid_lft forever preferred_lft forever 22:18:25 inet6 ::1/128 scope host 22:18:25 valid_lft forever preferred_lft forever 22:18:25 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:18:25 link/ether fa:16:3e:58:73:e1 brd ff:ff:ff:ff:ff:ff 22:18:25 inet 10.30.122.240/23 brd 10.30.123.255 scope global dynamic eth0 22:18:25 valid_lft 85794sec preferred_lft 85794sec 22:18:25 inet6 fe80::f816:3eff:fe58:73e1/64 scope link 22:18:25 valid_lft forever preferred_lft forever 22:18:25 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:18:25 link/ether 02:42:41:b2:3e:18 brd ff:ff:ff:ff:ff:ff 22:18:25 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:18:25 valid_lft forever preferred_lft forever 22:18:25 inet6 fe80::42:41ff:feb2:3e18/64 scope link 22:18:25 valid_lft forever preferred_lft forever 22:18:25 22:18:25 22:18:25 ---> sar -b -r -n DEV: 22:18:25 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 22:18:25 22:18:25 22:08:07 LINUX RESTART (4 CPU) 22:18:25 22:18:25 22:09:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:18:25 22:10:01 32.72 11.34 21.38 0.00 4416.73 2977.98 0.00 22:18:25 22:11:01 0.67 0.00 0.67 0.00 0.00 11.84 0.00 22:18:25 22:12:01 0.30 0.00 0.30 0.00 0.00 3.65 0.00 22:18:25 22:13:01 0.27 0.00 0.27 0.00 0.00 3.25 0.00 22:18:25 22:14:01 0.25 0.00 0.25 0.00 0.00 3.38 0.00 22:18:25 22:15:01 0.32 0.00 0.32 0.00 0.00 4.35 0.00 22:18:25 22:16:01 0.20 0.00 0.20 0.00 0.00 2.01 0.00 22:18:25 22:17:01 0.33 0.00 0.33 0.00 0.00 4.33 0.00 22:18:25 22:18:01 47.05 46.47 0.58 0.00 3747.80 13.33 0.00 22:18:25 Average: 9.08 6.42 2.67 0.00 900.99 331.21 0.00 22:18:25 22:18:25 22:09:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:18:25 22:10:01 159260 0 577836 30.71 2620 1141828 1106576 37.77 397904 1124428 12 22:18:25 22:11:01 165692 0 571400 30.37 2620 1141832 1073392 36.63 396132 1121248 20 22:18:25 22:12:01 164756 0 572328 30.42 2620 1141840 1073248 36.63 399452 1118996 16 22:18:25 22:13:01 163200 0 573884 30.50 2620 1141840 1073464 36.64 412672 1106812 8 22:18:25 22:14:01 162712 0 574364 30.53 2620 1141848 1073404 36.63 409816 1110612 16 22:18:25 22:15:01 163488 0 573584 30.48 2620 1141852 1073308 36.63 413300 1106516 12 22:18:25 22:16:01 163860 0 573208 30.46 2620 1141856 1073248 36.63 413072 1106520 8 22:18:25 22:17:01 163876 0 573188 30.46 2620 1141860 1073248 36.63 412848 1106516 8 22:18:25 22:18:01 77576 0 597520 31.76 2620 1203828 1109328 37.86 432720 1173072 240 22:18:25 Average: 153824 0 576368 30.63 2620 1148732 1081024 36.89 409768 1119413 38 22:18:25 22:18:25 22:09:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:18:25 22:10:01 eth0 79.50 67.04 364.08 30.91 0.00 0.00 0.00 0.00 22:18:25 22:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:10:01 docker0 7.77 5.79 1.26 20.83 0.00 0.00 0.00 0.00 22:18:25 22:11:01 eth0 4.18 1.95 3.21 0.27 0.00 0.00 0.00 0.00 22:18:25 22:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:12:01 eth0 0.70 0.07 0.07 0.04 0.00 0.00 0.00 0.00 22:18:25 22:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:13:01 eth0 1.13 0.27 0.32 0.20 0.00 0.00 0.00 0.00 22:18:25 22:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:14:01 eth0 0.63 0.47 0.38 0.27 0.00 0.00 0.00 0.00 22:18:25 22:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:15:01 eth0 0.18 0.12 0.07 0.01 0.00 0.00 0.00 0.00 22:18:25 22:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:16:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:18:25 22:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:17:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:18:25 22:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:18:01 eth0 9.87 6.08 9.44 3.69 0.00 0.00 0.00 0.00 22:18:25 22:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 22:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 Average: eth0 10.59 8.35 41.37 3.89 0.00 0.00 0.00 0.00 22:18:25 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:18:25 Average: docker0 0.85 0.63 0.14 2.28 0.00 0.00 0.00 0.00 22:18:25 22:18:25 22:18:25 ---> sar -P ALL: 22:18:25 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/16/20 _x86_64_ (4 CPU) 22:18:25 22:18:25 22:08:07 LINUX RESTART (4 CPU) 22:18:25 22:18:25 22:09:02 CPU %user %nice %system %iowait %steal %idle 22:18:25 22:10:01 all 2.56 0.00 1.88 0.56 0.02 94.99 22:18:25 22:10:01 0 2.32 0.00 1.84 1.38 0.03 94.43 22:18:25 22:10:01 1 2.47 0.00 1.99 0.17 0.02 95.35 22:18:25 22:10:01 2 2.61 0.00 1.60 0.24 0.02 95.54 22:18:25 22:10:01 3 2.85 0.00 2.08 0.44 0.00 94.63 22:18:25 22:11:01 all 0.18 0.00 0.05 0.00 0.00 99.77 22:18:25 22:11:01 0 0.08 0.00 0.08 0.00 0.00 99.83 22:18:25 22:11:01 1 0.50 0.00 0.05 0.00 0.00 99.45 22:18:25 22:11:01 2 0.07 0.00 0.03 0.00 0.00 99.90 22:18:25 22:11:01 3 0.05 0.00 0.03 0.00 0.00 99.92 22:18:25 22:12:01 all 0.16 0.00 0.03 0.00 0.00 99.81 22:18:25 22:12:01 0 0.02 0.00 0.05 0.00 0.00 99.93 22:18:25 22:12:01 1 0.13 0.00 0.02 0.00 0.00 99.85 22:18:25 22:12:01 2 0.03 0.00 0.02 0.00 0.00 99.95 22:18:25 22:12:01 3 0.45 0.00 0.03 0.00 0.00 99.52 22:18:25 22:13:01 all 0.15 0.00 0.04 0.00 0.00 99.81 22:18:25 22:13:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:18:25 22:13:01 1 0.03 0.00 0.03 0.00 0.00 99.93 22:18:25 22:13:01 2 0.02 0.00 0.07 0.00 0.00 99.92 22:18:25 22:13:01 3 0.52 0.00 0.03 0.00 0.00 99.45 22:18:25 22:14:01 all 0.15 0.00 0.05 0.00 0.00 99.80 22:18:25 22:14:01 0 0.02 0.00 0.03 0.00 0.00 99.95 22:18:25 22:14:01 1 0.05 0.00 0.02 0.00 0.00 99.93 22:18:25 22:14:01 2 0.07 0.00 0.05 0.00 0.00 99.88 22:18:25 22:14:01 3 0.47 0.00 0.08 0.00 0.02 99.43 22:18:25 22:15:01 all 0.12 0.00 0.04 0.00 0.00 99.84 22:18:25 22:15:01 0 0.03 0.00 0.05 0.00 0.00 99.92 22:18:25 22:15:01 1 0.02 0.00 0.02 0.00 0.00 99.97 22:18:25 22:15:01 2 0.03 0.00 0.07 0.00 0.00 99.90 22:18:25 22:15:01 3 0.40 0.00 0.03 0.00 0.00 99.57 22:18:25 22:16:01 all 0.17 0.00 0.03 0.00 0.00 99.80 22:18:25 22:16:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:18:25 22:16:01 1 0.40 0.00 0.05 0.00 0.00 99.55 22:18:25 22:16:01 2 0.05 0.00 0.02 0.00 0.00 99.93 22:18:25 22:16:01 3 0.18 0.00 0.02 0.00 0.00 99.80 22:18:25 22:17:01 all 0.15 0.00 0.04 0.00 0.00 99.82 22:18:25 22:17:01 0 0.00 0.00 0.05 0.00 0.00 99.95 22:18:25 22:17:01 1 0.53 0.00 0.02 0.00 0.00 99.45 22:18:25 22:17:01 2 0.03 0.00 0.05 0.00 0.00 99.92 22:18:25 22:17:01 3 0.02 0.00 0.03 0.00 0.00 99.95 22:18:25 22:18:01 all 1.10 0.00 0.58 1.09 0.00 97.24 22:18:25 22:18:01 0 0.50 0.00 0.33 0.00 0.00 99.17 22:18:25 22:18:01 1 0.98 0.00 0.40 0.03 0.00 98.58 22:18:25 22:18:01 2 1.60 0.00 0.87 2.94 0.00 94.59 22:18:25 22:18:01 3 1.30 0.00 0.70 1.38 0.00 96.61 22:18:25 Average: all 0.52 0.00 0.30 0.18 0.00 99.00 22:18:25 Average: 0 0.33 0.00 0.27 0.15 0.00 99.24 22:18:25 Average: 1 0.56 0.00 0.28 0.02 0.00 99.13 22:18:25 Average: 2 0.50 0.00 0.30 0.35 0.00 98.85 22:18:25 Average: 3 0.69 0.00 0.33 0.20 0.00 98.77 22:18:25 22:18:25 22:18:25