Pull request #746 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e869826568a3ef92961d02a1aadb5b263d2aa395+1c2f003b09666c9aca7d142d934c7ec3af9c247b (917e5a38d7798f8f73520288d95f69cf80128e78) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-746/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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-746/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 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21888 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [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-746 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit e869826568a3ef92961d02a1aadb5b263d2aa395 Merge succeeded, producing e869826568a3ef92961d02a1aadb5b263d2aa395 Checking out Revision e869826568a3ef92961d02a1aadb5b263d2aa395 (PR-746) > 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/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 Commit message: "refactor: refactor autoevent package for v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:16:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:16:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:16:41 ========================================================= 08:16:41 EdgeX Global Pipelines Version Info 08:16:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:16:43 ------------------- 08:16:43 stable info: 08:16:43 ------------------- 08:16:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:16:43 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:16:43 Message: update stable to v1.0.179 08:16:44 ------------------- 08:16:44 experimental info: 08:16:44 ------------------- 08:16:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:16:44 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 08:16:44 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:16:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:16:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:16:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:16:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:16:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:16:47 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-746 [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-746 [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-746 [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e869826568a3ef92961d02a1aadb5b263d2aa395 [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e869826 [Pipeline] echo 08:16:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:16:49 provisioning config files... 08:16:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config4060844654924953554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:49 ---> docker-login.sh 08:16:49 nexus3.edgexfoundry.org:10001 08:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:50 Configure a credential helper to remove this warning. See 08:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:50 08:16:50 Login Succeeded 08:16:50 nexus3.edgexfoundry.org:10002 08:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:50 Configure a credential helper to remove this warning. See 08:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:50 08:16:50 Login Succeeded 08:16:50 nexus3.edgexfoundry.org:10003 08:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:50 Configure a credential helper to remove this warning. See 08:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:50 08:16:50 Login Succeeded 08:16:50 nexus3.edgexfoundry.org:10004 08:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:50 Configure a credential helper to remove this warning. See 08:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:50 08:16:50 Login Succeeded 08:16:50 docker.io 08:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:16:51 Configure a credential helper to remove this warning. See 08:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:16:51 08:16:51 Login Succeeded 08:16:51 ---> docker-login.sh ends [Pipeline] } 08:16:51 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 08:16:52 + git log --format=format:%s -1 e869826568a3ef92961d02a1aadb5b263d2aa395 [Pipeline] echo 08:16:52 GIT_COMMIT: e869826568a3ef92961d02a1aadb5b263d2aa395, Commit Message: refactor: refactor autoevent package for v2 [Pipeline] echo 08:16:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:16:53 08:16:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:16:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:16:54 latest: Pulling from edgex-devops/git-semver 08:16:54 31603596830f: Pulling fs layer 08:16:54 2a8b12db71e7: Pulling fs layer 08:16:54 6ca5941a6612: Pulling fs layer 08:16:54 ecc8261a40a4: Pulling fs layer 08:16:54 ecc8261a40a4: Waiting 08:16:54 2a8b12db71e7: Verifying Checksum 08:16:54 2a8b12db71e7: Download complete 08:16:54 31603596830f: Verifying Checksum 08:16:54 31603596830f: Download complete 08:16:54 ecc8261a40a4: Verifying Checksum 08:16:54 ecc8261a40a4: Download complete 08:16:54 6ca5941a6612: Verifying Checksum 08:16:54 6ca5941a6612: Download complete 08:16:54 31603596830f: Pull complete 08:16:54 2a8b12db71e7: Pull complete 08:16:55 6ca5941a6612: Pull complete 08:16:55 ecc8261a40a4: Pull complete 08:16:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:16:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:16:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:16:55 prd-centos7-docker-4c-2g-21888 does not seem to be running inside a container 08:16:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:16:58 $ docker top a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:16:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:16:58 [ssh-agent] Looking for ssh-agent implementation... 08:16:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:58 $ docker exec a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent 08:16:58 SSH_AUTH_SOCK=/tmp/ssh-ZVC38CnlxP2N/agent.11 08:16:58 SSH_AGENT_PID=16 08:16:58 Running ssh-add (command line suppressed) 08:16:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8011579908194864987.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_8011579908194864987.key) 08:16:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:16:59 + git tag --points-at HEAD [Pipeline] } 08:16:59 $ docker exec --env ******** --env ******** a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent -k 08:16:59 unset SSH_AUTH_SOCK; 08:16:59 unset SSH_AGENT_PID; 08:16:59 echo Agent pid 16 killed; 08:16:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:16:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:16:59 [ssh-agent] Looking for ssh-agent implementation... 08:16:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:59 $ docker exec a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent 08:17:00 SSH_AUTH_SOCK=/tmp/ssh-xt7cXkNKCw1U/agent.46 08:17:00 SSH_AGENT_PID=51 08:17:00 Running ssh-add (command line suppressed) 08:17:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4884217361118733435.key (/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/private_key_4884217361118733435.key) 08:17:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:17:00 + git semver init 08:17:00 # -> Open(): unable to determine branch for HEAD 08:17:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.git 08:17:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-746 08:17:00 # $SEMVER_REMOTE_NAME = origin 08:17:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:17:00 # $SEMVER_USER_NAME = edgex-jenkins 08:17:00 # $SEMVER_BRANCH = PR-746 08:17:00 # $SEMVER_TEMP = /tmp/semver-061698530 08:17:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:17:01 # '/tmp/semver-061698530' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver' 08:17:01 # -> Force: false 08:17:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-746/.semver [Pipeline] } 08:17:01 $ docker exec --env ******** --env ******** a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e ssh-agent -k 08:17:01 unset SSH_AUTH_SOCK; 08:17:01 unset SSH_AGENT_PID; 08:17:01 echo Agent pid 51 killed; 08:17:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:02 + git semver [Pipeline] } 08:17:02 $ docker stop --time=1 a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e 08:17:03 $ docker rm -f a943078239bef454c468a964e7bf009a9c62b63bf67ed363e3145ee5bea48f3e [Pipeline] // withDockerContainer [Pipeline] sh 08:17:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:17:04 Stashed 1 file(s) [Pipeline] echo 08:17:04 [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 08:17:20 Still waiting to schedule task 08:17:20 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:17:20 Still waiting to schedule task 08:17:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 08:19:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21889 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] { [Pipeline] ws 08:19:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:19:12 using credential edgex-jenkins-ssh 08:19:12 Cloning the remote Git repository 08:19:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:19:12 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:19:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:19:13 > git --version # timeout=10 08:19:13 > git --version # 'git version 2.17.1' 08:19:13 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:19:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:19:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:19:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:19:14 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:19:14 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit e869826568a3ef92961d02a1aadb5b263d2aa395 08:19:15 Merge succeeded, producing e869826568a3ef92961d02a1aadb5b263d2aa395 08:19:15 Checking out Revision e869826568a3ef92961d02a1aadb5b263d2aa395 (PR-746) 08:19:14 > git config core.sparsecheckout # timeout=10 08:19:14 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 08:19:14 > git remote # timeout=10 08:19:14 > git config --get remote.origin.url # timeout=10 08:19:14 using GIT_SSH to set credentials SSH Credentials for GitHub 08:19:15 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 08:19:15 > git rev-parse HEAD^{commit} # timeout=10 08:19:15 > git config core.sparsecheckout # timeout=10 08:19:15 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 08:19:19 Commit message: "refactor: refactor autoevent package for v2" 08:19:19 > git --version # timeout=10 08:19:19 > git --version # 'git version 2.17.1' 08:19:19 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:19:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:19:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:19:22 + true 08:19:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:19:24 provisioning config files... 08:19:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3074864922440231968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:25 ---> docker-login.sh 08:19:25 nexus3.edgexfoundry.org:10001 08:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:26 Configure a credential helper to remove this warning. See 08:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:26 08:19:26 Login Succeeded 08:19:26 nexus3.edgexfoundry.org:10002 08:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:27 Configure a credential helper to remove this warning. See 08:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:27 08:19:27 Login Succeeded 08:19:27 nexus3.edgexfoundry.org:10003 08:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:27 Configure a credential helper to remove this warning. See 08:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:27 08:19:27 Login Succeeded 08:19:27 nexus3.edgexfoundry.org:10004 08:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:27 Configure a credential helper to remove this warning. See 08:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:27 08:19:27 Login Succeeded 08:19:27 docker.io 08:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:19:28 Configure a credential helper to remove this warning. See 08:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:19:28 08:19:28 Login Succeeded 08:19:28 ---> docker-login.sh ends [Pipeline] } 08:19:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:19:29 ========================================================= 08:19:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 08:19:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:19:29 + 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 . 08:19:30 Sending build context to Docker daemon 2.391MB 08:19:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:19:30 Step 2/8 : FROM ${BASE} 08:19:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:19:30 5f621e34cdf4: Pulling fs layer 08:19:30 a4357932f1b6: Pulling fs layer 08:19:30 18c013af1878: Pulling fs layer 08:19:30 00ac8860ef70: Pulling fs layer 08:19:30 63d7cb157983: Pulling fs layer 08:19:30 b116817d02f9: Pulling fs layer 08:19:30 745a02a5169b: Pulling fs layer 08:19:30 63d7cb157983: Waiting 08:19:30 b116817d02f9: Waiting 08:19:30 745a02a5169b: Waiting 08:19:30 00ac8860ef70: Waiting 08:19:30 18c013af1878: Verifying Checksum 08:19:30 18c013af1878: Download complete 08:19:30 a4357932f1b6: Verifying Checksum 08:19:30 a4357932f1b6: Download complete 08:19:30 63d7cb157983: Verifying Checksum 08:19:30 63d7cb157983: Download complete 08:19:30 b116817d02f9: Verifying Checksum 08:19:30 b116817d02f9: Download complete 08:19:31 5f621e34cdf4: Download complete 08:19:32 5f621e34cdf4: Pull complete 08:19:32 a4357932f1b6: Pull complete 08:19:32 18c013af1878: Pull complete 08:19:33 745a02a5169b: Verifying Checksum 08:19:33 745a02a5169b: Download complete 08:19:35 00ac8860ef70: Verifying Checksum 08:19:35 00ac8860ef70: Download complete 08:19:45 00ac8860ef70: Pull complete 08:19:45 63d7cb157983: Pull complete 08:19:45 b116817d02f9: Pull complete 08:19:49 745a02a5169b: Pull complete 08:19:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 08:19:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 08:19:49 ---> b7e6874047d6 08:19:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:19:52 ---> Running in 0cbcae47db0a 08:19:52 Removing intermediate container 0cbcae47db0a 08:19:52 ---> c91d6d02830c 08:19:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:19:52 ---> Running in 79755c0b5028 08:19:54 Removing intermediate container 79755c0b5028 08:19:54 ---> 9d16e12f6933 08:19:54 Step 5/8 : RUN apk add --update --no-cache make git 08:19:54 ---> Running in e0a0e4060d3d 08:19:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:19:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:19:57 OK: 142 MiB in 39 packages 08:19:58 Removing intermediate container e0a0e4060d3d 08:19:58 ---> 71a12a709dec 08:19:58 Step 6/8 : WORKDIR /device-sdk-go 08:19:58 ---> Running in 8a68a1c9bf1b 08:19:59 Removing intermediate container 8a68a1c9bf1b 08:19:59 ---> 510c66b29c2e 08:19:59 Step 7/8 : COPY . . 08:20:00 ---> 9e157a3b59dc 08:20:00 Step 8/8 : RUN go mod download 08:20:00 ---> Running in a16703a8b8e7 08:20:22 Removing intermediate container a16703a8b8e7 08:20:22 ---> ef454dc4cf45 08:20:22 Successfully built ef454dc4cf45 08:20:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:20:23 + docker inspect -f . ci-base-image-arm64 08:20:23 . [Pipeline] withDockerContainer 08:20:23 prd-ubuntu18.04-docker-arm64-4c-16g-21889 does not seem to be running inside a container 08:20:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:20:25 $ docker top 4c5216e20cac7f7fc2049b4c0c44884a1b3861ee7120378e384574f27621ccbe -eo pid,comm [Pipeline] { [Pipeline] sh 08:20:26 + go version 08:20:26 go version go1.15.5 linux/arm64 [Pipeline] } 08:20:26 $ docker stop --time=1 4c5216e20cac7f7fc2049b4c0c44884a1b3861ee7120378e384574f27621ccbe 08:20:28 $ docker rm -f 4c5216e20cac7f7fc2049b4c0c44884a1b3861ee7120378e384574f27621ccbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:20:29 + docker inspect -f . ci-base-image-arm64 08:20:29 . 08:20:29 Running on prd-centos7-docker-4c-2g-21890 in /w/workspace/dgexfoundry_device-sdk-go_PR-746 [Pipeline] withDockerContainer 08:20:29 prd-ubuntu18.04-docker-arm64-4c-16g-21889 does not seem to be running inside a container 08:20:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:20:31 $ docker top 160233f228d79fdfb5ac2c3a3641f2a041ec502834a6d9baf864b72e0a17f0c0 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 08:20:31 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 08:20:32 + make test 08:20:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:20:38 using credential edgex-jenkins-ssh 08:20:38 Cloning the remote Git repository 08:20:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:20:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 08:20:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:20:38 > git --version # timeout=10 08:20:38 > git --version # 'git version 2.24.3' 08:20:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:40 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit e869826568a3ef92961d02a1aadb5b263d2aa395 08:20:40 Merge succeeded, producing e869826568a3ef92961d02a1aadb5b263d2aa395 08:20:40 Checking out Revision e869826568a3ef92961d02a1aadb5b263d2aa395 (PR-746) 08:20:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:20:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:20:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:20:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/746/head:refs/remotes/origin/PR-746 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:20:40 > git config core.sparsecheckout # timeout=10 08:20:40 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 08:20:40 > git remote # timeout=10 08:20:40 > git config --get remote.origin.url # timeout=10 08:20:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:40 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 08:20:40 > git rev-parse HEAD^{commit} # timeout=10 08:20:40 > git config core.sparsecheckout # timeout=10 08:20:40 > git checkout -f e869826568a3ef92961d02a1aadb5b263d2aa395 # timeout=10 08:20:44 Commit message: "refactor: refactor autoevent package for v2" 08:20:44 > git --version # timeout=10 08:20:44 > git --version # 'git version 2.24.3' 08:20:45 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:46 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:20:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:20:47 + true 08:20:47 + sudo service docker restart 08:20:47 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:20:49 provisioning config files... 08:20:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4306486086807101030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:20:50 ---> docker-login.sh 08:20:50 nexus3.edgexfoundry.org:10001 08:20:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:51 Configure a credential helper to remove this warning. See 08:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:51 08:20:51 Login Succeeded 08:20:51 nexus3.edgexfoundry.org:10002 08:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:51 Configure a credential helper to remove this warning. See 08:20:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:51 08:20:51 Login Succeeded 08:20:51 nexus3.edgexfoundry.org:10003 08:20:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:52 Configure a credential helper to remove this warning. See 08:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:52 08:20:52 Login Succeeded 08:20:52 nexus3.edgexfoundry.org:10004 08:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:52 Configure a credential helper to remove this warning. See 08:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:52 08:20:52 Login Succeeded 08:20:52 docker.io 08:20:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:20:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:20:52 Configure a credential helper to remove this warning. See 08:20:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:20:52 08:20:52 Login Succeeded 08:20:52 ---> docker-login.sh ends [Pipeline] } 08:20:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:20:53 ========================================================= 08:20:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:20:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:20:54 + 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 . 08:20:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:20:55 Sending build context to Docker daemon 2.383MB 08:20:55 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 08:20:55 Step 2/8 : FROM ${BASE} 08:20:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:20:55 188c0c94c7c5: Pulling fs layer 08:20:55 0ef7d3d256c8: Pulling fs layer 08:20:55 de9db76c5a1d: Pulling fs layer 08:20:55 bca2f99d35d6: Pulling fs layer 08:20:55 93359f2a8cfa: Pulling fs layer 08:20:55 7c6f9722023f: Pulling fs layer 08:20:55 a35cf1a2eb13: Pulling fs layer 08:20:55 bca2f99d35d6: Waiting 08:20:55 93359f2a8cfa: Waiting 08:20:55 7c6f9722023f: Waiting 08:20:55 a35cf1a2eb13: Waiting 08:20:55 de9db76c5a1d: Verifying Checksum 08:20:55 de9db76c5a1d: Download complete 08:20:55 0ef7d3d256c8: Verifying Checksum 08:20:55 0ef7d3d256c8: Download complete 08:20:55 93359f2a8cfa: Verifying Checksum 08:20:55 93359f2a8cfa: Download complete 08:20:55 7c6f9722023f: Verifying Checksum 08:20:55 7c6f9722023f: Download complete 08:20:55 188c0c94c7c5: Verifying Checksum 08:20:55 188c0c94c7c5: Download complete 08:20:56 188c0c94c7c5: Pull complete 08:20:56 0ef7d3d256c8: Pull complete 08:20:57 de9db76c5a1d: Pull complete 08:20:59 a35cf1a2eb13: Verifying Checksum 08:20:59 a35cf1a2eb13: Download complete 08:21:01 bca2f99d35d6: Verifying Checksum 08:21:01 bca2f99d35d6: Download complete 08:21:14 bca2f99d35d6: Pull complete 08:21:14 93359f2a8cfa: Pull complete 08:21:14 7c6f9722023f: Pull complete 08:21:21 a35cf1a2eb13: Pull complete 08:21:21 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 08:21:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:21:21 ---> a62c8e92a672 08:21:21 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:21:21 ---> Running in 2db3dae0bcb1 08:21:21 Removing intermediate container 2db3dae0bcb1 08:21:21 ---> a1d23b6e855f 08:21:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:21:22 ---> Running in e5c1bee5c41d 08:21:23 Removing intermediate container e5c1bee5c41d 08:21:23 ---> 95e87b7a0005 08:21:23 Step 5/8 : RUN apk add --update --no-cache make git 08:21:24 ---> Running in 1ddc411e5bb9 08:21:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:21:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:21:26 OK: 166 MiB in 39 packages 08:21:27 Removing intermediate container 1ddc411e5bb9 08:21:27 ---> 77c58352fa79 08:21:27 Step 6/8 : WORKDIR /device-sdk-go 08:21:27 ---> Running in 87307bc467a3 08:21:27 Removing intermediate container 87307bc467a3 08:21:27 ---> c5949594f883 08:21:27 Step 7/8 : COPY . . 08:21:29 ---> 08650092b75b 08:21:29 Step 8/8 : RUN go mod download 08:21:29 ---> Running in 7776397468f9 08:21:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:21:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:21:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:21:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 15.2% of statements 08:21:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.224s coverage: 97.1% of statements 08:21:56 Removing intermediate container 7776397468f9 08:21:56 ---> 60cb159321eb 08:21:56 Successfully built 60cb159321eb 08:21:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:21:56 + docker inspect -f . ci-base-image-x86_64 08:21:57 . [Pipeline] withDockerContainer 08:21:57 prd-centos7-docker-4c-2g-21890 does not seem to be running inside a container 08:21:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:21:59 $ docker top 4086f33a1db770a10c115b2c9352be2327a6a6b4cf84bcc34c243c355be657f1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:01 + go version 08:22:01 go version go1.15.5 linux/amd64 [Pipeline] } 08:22:01 $ docker stop --time=1 4086f33a1db770a10c115b2c9352be2327a6a6b4cf84bcc34c243c355be657f1 08:22:03 $ docker rm -f 4086f33a1db770a10c115b2c9352be2327a6a6b4cf84bcc34c243c355be657f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:22:04 + docker inspect -f . ci-base-image-x86_64 08:22:04 . [Pipeline] withDockerContainer 08:22:04 prd-centos7-docker-4c-2g-21890 does not seem to be running inside a container 08:22:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:22:06 $ docker top 140ca8df551996b55e24a6ad2c7ef20b01cfba73aa4ff13eaac8a6fb4e31c73d -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:07 + make test 08:22:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 9.4% of statements 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 22.9% of statements 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.146s coverage: 84.8% of statements 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 26.8% of statements 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.036s coverage: 83.5% of statements 08:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 4.2% of statements 08:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:22:09 GO111MODULE=on go vet ./... 08:22:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 08:22:42 gofmt -l . 08:22:42 [ "`gofmt -l .`" = "" ] 08:22:42 ./bin/test-attribution-txt.sh 08:22:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:22:42 $ docker stop --time=1 160233f228d79fdfb5ac2c3a3641f2a041ec502834a6d9baf864b72e0a17f0c0 08:22:44 $ docker rm -f 160233f228d79fdfb5ac2c3a3641f2a041ec502834a6d9baf864b72e0a17f0c0 [Pipeline] // withDockerContainer [Pipeline] sh 08:22:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:22:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 08:22:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 08:22:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:22:50 + ls -al . 08:22:50 total 224 08:22:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 21 08:22 . 08:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 .. 08:22:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 21 08:19 .dockerignore 08:22:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 21 08:19 .git 08:22:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 08:19 .github 08:22:50 -rw-rw-r-- 1 jenkins jenkins 138 Jan 21 08:19 .gitignore 08:22:50 -rw-rw-r-- 1 jenkins jenkins 949 Jan 21 08:19 Dockerfile.build 08:22:50 -rw-rw-r-- 1 jenkins jenkins 901 Jan 21 08:19 Jenkinsfile 08:22:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 21 08:19 LICENSE 08:22:50 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 21 08:19 Makefile 08:22:50 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 21 08:19 README.md 08:22:50 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 21 08:19 RELEASE-NOTES.txt 08:22:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 21 08:17 VERSION 08:22:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 21 08:19 bin 08:22:50 -rw-r--r-- 1 jenkins jenkins 109027 Jan 21 08:22 coverage.out 08:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 example 08:22:50 -rw-r--r-- 1 jenkins jenkins 456 Jan 21 08:22 go.mod 08:22:50 -rw-r--r-- 1 jenkins jenkins 13953 Jan 21 08:22 go.sum 08:22:50 drwxrwxr-x 14 jenkins jenkins 4096 Jan 21 08:19 internal 08:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 openapi 08:22:50 drwxrwxr-x 5 jenkins jenkins 4096 Jan 21 08:19 pkg 08:22:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 21 08:19 snap 08:22:50 -rw-rw-r-- 1 jenkins jenkins 222 Jan 21 08:19 version.go [Pipeline] isUnix [Pipeline] sh 08:22:51 + 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=e869826568a3ef92961d02a1aadb5b263d2aa395 --label arch=arm64 --label version=0.0.0 . 08:22:51 Sending build context to Docker daemon 2.5MB 08:22:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:22:51 Step 2/24 : FROM ${BASE} AS builder 08:22:51 ---> ef454dc4cf45 08:22:51 Step 3/24 : ARG MAKE='make build' 08:22:51 ---> Running in 55d898a38c8e 08:22:52 Removing intermediate container 55d898a38c8e 08:22:52 ---> 575730c5ba5c 08:22:52 Step 4/24 : WORKDIR /device-sdk-go 08:22:52 ---> Running in f052612ce9d7 08:22:53 Removing intermediate container f052612ce9d7 08:22:53 ---> 84a7c1c31e38 08:22:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:22:53 ---> Running in 13b9f04a36a0 08:22:53 Removing intermediate container 13b9f04a36a0 08:22:53 ---> b4d02b350d7d 08:22:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:22:53 ---> Running in 4e5c4e0bd3a2 08:22:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 15.2% of statements 08:22:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.804s coverage: 97.1% of statements 08:22:55 Removing intermediate container 4e5c4e0bd3a2 08:22:55 ---> 8bc8e8d08969 08:22:55 Step 7/24 : RUN apk add --update --no-cache make git 08:22:56 ---> Running in 2b4e326dfed0 08:22:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:22:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:22:58 OK: 142 MiB in 39 packages 08:22:59 Removing intermediate container 2b4e326dfed0 08:22:59 ---> 41ceb7b7228f 08:22:59 Step 8/24 : COPY . . 08:23:01 ---> 9e61c799f351 08:23:01 Step 9/24 : RUN ${MAKE} 08:23:01 ---> Running in ca545d6158dd 08:23:02 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.086s coverage: 9.4% of statements 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.219s coverage: 22.9% of statements 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.171s coverage: 84.8% of statements 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.470s coverage: 53.8% of statements 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.116s coverage: 26.8% of statements 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.277s coverage: 83.5% of statements 08:23:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.157s coverage: 4.2% of statements 08:23:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 08:23:27 GO111MODULE=on go vet ./... 08:23:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:23:29 Removing intermediate container ca545d6158dd 08:23:29 ---> 0c9343dae09d 08:23:29 Step 10/24 : FROM scratch 08:23:29 ---> 08:23:29 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:23:29 ---> Running in a2a0093b1c63 08:23:29 Removing intermediate container a2a0093b1c63 08:23:29 ---> c8388872ecc9 08:23:29 Step 12/24 : ENV APP_PORT=49990 08:23:29 ---> Running in 72aec83d6969 08:23:29 Removing intermediate container 72aec83d6969 08:23:29 ---> 0e4e7792f215 08:23:29 Step 13/24 : EXPOSE $APP_PORT 08:23:29 ---> Running in 67c0aae3a7e5 08:23:29 Removing intermediate container 67c0aae3a7e5 08:23:29 ---> 9c9a7e052b2c 08:23:29 Step 14/24 : WORKDIR / 08:23:29 ---> Running in 4d67201143dd 08:23:29 Removing intermediate container 4d67201143dd 08:23:29 ---> 6e399fad3f3e 08:23:29 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:23:30 ---> 17fb03875403 08:23:30 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:23:31 ---> 6bbc3b0a415f 08:23:31 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:23:32 ---> dd6d7d55989c 08:23:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:23:33 ---> cae9b818012d 08:23:33 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:23:33 ---> e9add55fb745 08:23:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:23:33 ---> Running in ecd58fafce40 08:23:34 Removing intermediate container ecd58fafce40 08:23:34 ---> 2d8c5b74ec7d 08:23:34 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:23:34 ---> Running in 2419d9506ee5 08:23:35 Removing intermediate container 2419d9506ee5 08:23:35 ---> b1190b06cda1 08:23:35 Step 22/24 : LABEL arch=arm64 08:23:35 ---> Running in 89e81a4a26cc 08:23:35 Removing intermediate container 89e81a4a26cc 08:23:35 ---> a92f40b2a196 08:23:35 Step 23/24 : LABEL git_sha=e869826568a3ef92961d02a1aadb5b263d2aa395 08:23:35 ---> Running in 547a0c684d0b 08:23:36 Removing intermediate container 547a0c684d0b 08:23:36 ---> 004dc6455d7c 08:23:36 Step 24/24 : LABEL version=0.0.0 08:23:36 ---> Running in 47f14dbc0fd0 08:23:36 Removing intermediate container 47f14dbc0fd0 08:23:36 ---> 023fc05f62e2 08:23:36 [Warning] One or more build-args [ARCH] were not consumed 08:23:36 Successfully built 023fc05f62e2 08:23:36 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] } 08:23:43 gofmt -l . 08:23:43 [ "`gofmt -l .`" = "" ] 08:23:43 ./bin/test-attribution-txt.sh 08:23:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:23:44 $ docker stop --time=1 140ca8df551996b55e24a6ad2c7ef20b01cfba73aa4ff13eaac8a6fb4e31c73d 08:23:47 $ docker rm -f 140ca8df551996b55e24a6ad2c7ef20b01cfba73aa4ff13eaac8a6fb4e31c73d [Pipeline] // withDockerContainer [Pipeline] sh 08:23:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:23:48 Warning: overwriting stash ‘coverage-report’ 08:23:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:23:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:23:50 + ls -al . 08:23:50 total 188 08:23:50 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 21 08:23 . 08:23:50 drwxrwxr-x. 4 jenkins jenkins 28 Jan 21 08:20 .. 08:23:50 drwxrwxr-x. 2 jenkins jenkins 64 Jan 21 08:20 bin 08:23:50 -rw-r--r--. 1 jenkins jenkins 109027 Jan 21 08:23 coverage.out 08:23:50 -rw-rw-r--. 1 jenkins jenkins 949 Jan 21 08:20 Dockerfile.build 08:23:50 -rw-rw-r--. 1 jenkins jenkins 140 Jan 21 08:20 .dockerignore 08:23:50 drwxrwxr-x. 4 jenkins jenkins 48 Jan 21 08:20 example 08:23:50 drwxrwxr-x. 8 jenkins jenkins 179 Jan 21 08:20 .git 08:23:50 drwxrwxr-x. 2 jenkins jenkins 103 Jan 21 08:20 .github 08:23:50 -rw-rw-r--. 1 jenkins jenkins 138 Jan 21 08:20 .gitignore 08:23:50 -rw-r--r--. 1 jenkins jenkins 456 Jan 21 08:23 go.mod 08:23:50 -rw-r--r--. 1 jenkins jenkins 13953 Jan 21 08:23 go.sum 08:23:50 drwxrwxr-x. 14 jenkins jenkins 196 Jan 21 08:20 internal 08:23:50 -rw-rw-r--. 1 jenkins jenkins 901 Jan 21 08:20 Jenkinsfile 08:23:50 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 21 08:20 LICENSE 08:23:50 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 21 08:20 Makefile 08:23:50 drwxrwxr-x. 4 jenkins jenkins 26 Jan 21 08:20 openapi 08:23:50 drwxrwxr-x. 5 jenkins jenkins 50 Jan 21 08:20 pkg 08:23:50 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 21 08:20 README.md 08:23:50 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 21 08:20 RELEASE-NOTES.txt 08:23:50 drwxrwxr-x. 4 jenkins jenkins 54 Jan 21 08:20 snap 08:23:50 -rw-rw-r--. 1 jenkins jenkins 5 Jan 21 08:17 VERSION 08:23:50 -rw-rw-r--. 1 jenkins jenkins 222 Jan 21 08:20 version.go [Pipeline] isUnix [Pipeline] sh 08:23:50 + 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=e869826568a3ef92961d02a1aadb5b263d2aa395 --label arch=amd64 --label version=0.0.0 . 08:23:50 Sending build context to Docker daemon 2.492MB 08:23:50 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 08:23:50 Step 2/24 : FROM ${BASE} AS builder 08:23:50 ---> 60cb159321eb 08:23:50 Step 3/24 : ARG MAKE='make build' 08:23:51 ---> Running in 991fccc35648 08:23:51 Removing intermediate container 991fccc35648 08:23:51 ---> be19f8bbf94e 08:23:51 Step 4/24 : WORKDIR /device-sdk-go 08:23:51 ---> Running in caa716a5e234 08:23:52 Removing intermediate container caa716a5e234 08:23:52 ---> c9956037ed81 08:23:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:23:52 ---> Running in ee91ca0af56e 08:23:52 Removing intermediate container ee91ca0af56e 08:23:52 ---> f6a7ef722ae6 08:23:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:23:52 ---> Running in c27873d1395d 08:23:54 Removing intermediate container c27873d1395d 08:23:54 ---> a4dba193f33c 08:23:54 Step 7/24 : RUN apk add --update --no-cache make git 08:23:54 ---> Running in 230bc1c099a5 08:23:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:23:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:23:56 OK: 166 MiB in 39 packages 08:23:58 Removing intermediate container 230bc1c099a5 08:23:58 ---> a054e9fa799a 08:23:58 Step 8/24 : COPY . . 08:24:00 ---> fad483bf34af 08:24:00 Step 9/24 : RUN ${MAKE} 08:24:00 ---> Running in 1888d6e29a47 08:24:01 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:24:18 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 08:24:21 Removing intermediate container 1888d6e29a47 08:24:21 ---> 1518514e3c39 08:24:21 Step 10/24 : FROM scratch 08:24:21 ---> 08:24:21 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:24:21 ---> Running in 105a7ed4a9bb 08:24:22 Removing intermediate container 105a7ed4a9bb 08:24:22 ---> dac1c54c5bce 08:24:22 Step 12/24 : ENV APP_PORT=49990 08:24:22 ---> Running in a7b43fd4b153 08:24:22 Removing intermediate container a7b43fd4b153 08:24:22 ---> d07ad071dac4 08:24:22 Step 13/24 : EXPOSE $APP_PORT 08:24:22 ---> Running in 89da3a0b3ff5 08:24:22 Removing intermediate container 89da3a0b3ff5 08:24:22 ---> 5a5a57fedb8e 08:24:22 Step 14/24 : WORKDIR / 08:24:22 ---> Running in 79a03ae65eaa 08:24:23 Removing intermediate container 79a03ae65eaa 08:24:23 ---> 9c4a78bf3ec6 08:24:23 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 08:24:23 ---> 8c59d6cb99f3 08:24:23 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 08:24:24 ---> 71eaa18553dc 08:24:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 08:24:24 ---> 4836283f07fd 08:24:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 08:24:25 ---> 1f4bc4c622ff 08:24:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 08:24:25 ---> 74184589d15c 08:24:25 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 08:24:25 ---> Running in bb171189262c 08:24:25 Removing intermediate container bb171189262c 08:24:25 ---> 444206006785 08:24:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:24:25 ---> Running in fe3ba16e81c3 08:24:25 Removing intermediate container fe3ba16e81c3 08:24:25 ---> bdfaec724a74 08:24:25 Step 22/24 : LABEL arch=amd64 08:24:25 ---> Running in 9a2e9885a1e1 08:24:26 Removing intermediate container 9a2e9885a1e1 08:24:26 ---> d55fd055fbbd 08:24:26 Step 23/24 : LABEL git_sha=e869826568a3ef92961d02a1aadb5b263d2aa395 08:24:26 ---> Running in fbff2b538620 08:24:26 Removing intermediate container fbff2b538620 08:24:26 ---> 7a98ad70a5a7 08:24:26 Step 24/24 : LABEL version=0.0.0 08:24:26 ---> Running in bad6073bfe93 08:24:26 Removing intermediate container bad6073bfe93 08:24:26 ---> 67261d6e9b04 08:24:26 [Warning] One or more build-args [ARCH] were not consumed 08:24:26 Successfully built 67261d6e9b04 08:24:26 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 08:24:29 provisioning config files... 08:24:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config1125937898109337098tmp [Pipeline] { [Pipeline] sh 08:24:30 + set +x 08:24:30 + curl -s https://codecov.io/bash 08:24:30 + bash -s -- 08:24:30 08:24:30 _____ _ 08:24:30 / ____| | | 08:24:30 | | ___ __| | ___ ___ _____ __ 08:24:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:24:30 | |___| (_) | (_| | __/ (_| (_) \ V / 08:24:30 \_____\___/ \__,_|\___|\___\___/ \_/ 08:24:30 Bash-20210115-cec3c92 08:24:30 08:24:30 08:24:30 ==> git version 2.24.3 found 08:24:30 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 08:24:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 08:24:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 08:24:30 ==> Jenkins CI detected. 08:24:30 project root: . 08:24:30 --> token set from env 08:24:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:24:30 ==> Running gcov in . (disable via -X gcov) 08:24:30 ==> Python coveragepy not found 08:24:30 ==> Searching for coverage reports in: 08:24:30 + . 08:24:30 -> Found 1 reports 08:24:30 ==> Detecting git/mercurial file structure 08:24:30 ==> Reading reports 08:24:30 + ./coverage.out bytes=109027 08:24:30 ==> Appending adjustments 08:24:30 https://docs.codecov.io/docs/fixing-reports 08:24:31 + Found adjustments 08:24:31 ==> Gzipping contents 08:24:31 20K /tmp/codecov.X35v9Z.gz 08:24:31 ==> Uploading reports 08:24:31 url: https://codecov.io 08:24:31 query: branch=PR-746&commit=e869826568a3ef92961d02a1aadb5b263d2aa395&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 08:24:31 -> Pinging Codecov 08:24:31 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-746&commit=e869826568a3ef92961d02a1aadb5b263d2aa395&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-746%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=746&job=&cmd_args= 08:24:31 -> Uploading to 08:24:31 https://storage.googleapis.com/codecov/v4/raw/2021-01-21/7E55EF52A471D76F132DFD9A03CDDE97/e869826568a3ef92961d02a1aadb5b263d2aa395/68580c92-a7cc-4fea-b4d3-d6367ab2f223.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T082431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8caf97cbe614c076bc213ac0a3bf188e6c7a2ca34f649191f1b4dc433fea7ea 08:24:31 % Total % Received % Xferd Average Speed Time Time Time Current 08:24:31 Dload Upload Total Spent Left Speed 08:24:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17955 0 0 100 17955 0 41186 --:--:-- --:--:-- --:--:-- 41275 08:24:31 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e869826568a3ef92961d02a1aadb5b263d2aa395 [Pipeline] } 08:24:31 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 08:24:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:24:35 ---> package-listing.sh 08:24:35 ++ facter osfamily 08:24:35 ++ tr '[:upper:]' '[:lower:]' 08:24:35 + OS_FAMILY=redhat 08:24:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-746 08:24:35 + START_PACKAGES=/tmp/packages_start.txt 08:24:35 + END_PACKAGES=/tmp/packages_end.txt 08:24:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:24:35 + PACKAGES=/tmp/packages_start.txt 08:24:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 08:24:35 + PACKAGES=/tmp/packages_end.txt 08:24:35 + case "${OS_FAMILY}" in 08:24:35 + rpm -qa 08:24:35 + sort 08:24:41 + '[' -f /tmp/packages_start.txt ']' 08:24:41 + '[' -f /tmp/packages_end.txt ']' 08:24:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:24:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-746 ']' 08:24:41 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ 08:24:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-746/archives/ [Pipeline] echo 08:24:41 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-746/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:24:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:24:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:24:41 08:24:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:24:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:24:42 alpine: Pulling from edgex-lftools-log-publisher 08:24:42 df20fa9351a1: Pulling fs layer 08:24:42 36b3adc4ff6f: Pulling fs layer 08:24:42 8ad3a11d3b57: Pulling fs layer 08:24:42 46f8f816bc3b: Pulling fs layer 08:24:42 93b61091891f: Pulling fs layer 08:24:42 93b9cdb0e59b: Pulling fs layer 08:24:42 5e14af77c1be: Pulling fs layer 08:24:42 01666e4c0597: Pulling fs layer 08:24:42 aa168da1d23b: Pulling fs layer 08:24:42 93b9cdb0e59b: Waiting 08:24:42 01666e4c0597: Waiting 08:24:42 aa168da1d23b: Waiting 08:24:42 5e14af77c1be: Waiting 08:24:42 46f8f816bc3b: Waiting 08:24:42 93b61091891f: Waiting 08:24:42 36b3adc4ff6f: Verifying Checksum 08:24:42 36b3adc4ff6f: Download complete 08:24:42 46f8f816bc3b: Download complete 08:24:42 df20fa9351a1: Verifying Checksum 08:24:42 df20fa9351a1: Download complete 08:24:42 93b9cdb0e59b: Verifying Checksum 08:24:42 93b9cdb0e59b: Download complete 08:24:42 5e14af77c1be: Verifying Checksum 08:24:42 5e14af77c1be: Download complete 08:24:42 01666e4c0597: Verifying Checksum 08:24:42 01666e4c0597: Download complete 08:24:42 df20fa9351a1: Pull complete 08:24:42 36b3adc4ff6f: Pull complete 08:24:43 8ad3a11d3b57: Verifying Checksum 08:24:43 8ad3a11d3b57: Download complete 08:24:43 93b61091891f: Verifying Checksum 08:24:43 93b61091891f: Download complete 08:24:44 8ad3a11d3b57: Pull complete 08:24:44 46f8f816bc3b: Pull complete 08:24:44 aa168da1d23b: Verifying Checksum 08:24:44 aa168da1d23b: Download complete 08:24:45 93b61091891f: Pull complete 08:24:45 93b9cdb0e59b: Pull complete 08:24:46 5e14af77c1be: Pull complete 08:24:46 01666e4c0597: Pull complete 08:24:52 aa168da1d23b: Pull complete 08:24:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:24:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:24:52 prd-centos7-docker-4c-2g-21888 does not seem to be running inside a container 08:24:52 $ 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-746/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-746 -v /w/workspace/dgexfoundry_device-sdk-go_PR-746:/w/workspace/dgexfoundry_device-sdk-go_PR-746:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:24:56 $ docker top 2f08729a639cb5b1f1e0665a3e5ee4214f968cb53d159befdc536ce26eb4dd83 -eo pid,comm [Pipeline] { [Pipeline] sh 08:24:56 + touch /tmp/pre-build-complete [Pipeline] sh 08:24:57 + mkdir -p /var/log/sa [Pipeline] sh 08:24:57 + ls /var/log/sa-host 08:24:57 + sadf -c /var/log/sa-host/sa21 08:24:57 file_magic: OK 08:24:57 HZ: Using current value: 100 08:24:57 file_header: OK 08:24:57 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 08:24:57 Statistics: 08:24:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:24:57 File successfully converted to sysstat format version 12.2.1 08:24:57 + sadf -c /var/log/sa-host/sa23 08:24:57 file_magic: OK 08:24:57 HZ: Using current value: 100 08:24:57 file_header: OK 08:24:57 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 08:24:57 Statistics: 08:24:57 Hnuu...uuuununununu... 08:24:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:57 provisioning config files... 08:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-746@tmp/config6325131773668014687tmp [Pipeline] { [Pipeline] echo 08:24:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:24:58 ---> create-netrc.sh [Pipeline] } 08:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:24:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:24:58 ---> python-tools-install.sh [Pipeline] echo 08:24:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:24:59 ---> sudo-logs.sh 08:24:59 Archiving 'sudo' log.. [Pipeline] echo 08:24:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:24:59 ---> job-cost.sh 08:24:59 lf-activate-venv: SKIPPING 08:24:59 INFO: No Stack... 08:25:00 INFO: Retrieving Pricing Info for: v1-standard-2 08:25:01 INFO: Archiving Costs [Pipeline] echo 08:25:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:25:01 ---> logs-deploy.sh 08:25:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-746/1 08:25:01 INFO: archiving workspace using pattern(s): 08:25:03 Archives upload complete. 08:25:03 INFO: archiving logs to Nexus